[Groonga-commit] droonga/express-droonga at f11053c [master] Follow to changes of user-cache.

Back to archive index

Hiroshi Hatake hatak****@clear*****
Thu Mar 26 18:33:26 JST 2015


- UbserCache
+ Ub erCache

sが余計に入ってません?

2015/03/26 18:25、YUKI Hiroshi <null+****@clear*****> のメール:

> Author
> YUKI Hiroshi <shimo****@clear*****>
> Date
> 2015-03-26 18:25:12 +0900 (Thu, 26 Mar 2015)
> New Revision
> f11053c5b87a974ecc057908577511e8bc708476
> Message
> Follow to changes of user-cache.
> 
> See also: https://github.com/serby/uber-cache/commit/5e60369b72ebe613c69f28cbd27e0f3b41d4f1a4
> Modified files
> lib/cache/index.js
>   Modified: lib/cache/index.js (+2 -2)
> ===================================================================
> ...
> 1
>  
> 2
> 3
> 4
> ...
> 12
> 13
> 14
> 15
>  
> 16
> 17
> 18
> ...
>  
> 1
> 2
> 3
> 4
> ...
> 12
> 13
> 14
>  
> 15
> 16
> 17
> 18
> @@ -1,4 +1,4 @@
> -var createCache = require('uber-cache');
> +var UbserCache = require('uber-cache');
>  
>  var defaultSize = 100;
>  
> @@ -12,7 +12,7 @@ function normalizeOptions(options) {
>  
>  function Cache(options) {
>    options = normalizeOptions(options);
> -  this.cache = createCache({
> +  this.cache = new UbserCache({
>      size: options.size
>    });
>    this.nGets = 0;
> _______________________________________________
> Groonga-commit mailing list
> Groon****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/groonga-commit

-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the Groonga-commit mailing list
Back to archive index