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

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Mar 26 18:25:12 JST 2015


YUKI Hiroshi	2015-03-26 18:25:12 +0900 (Thu, 26 Mar 2015)

  New Revision: f11053c5b87a974ecc057908577511e8bc708476
  https://github.com/droonga/express-droonga/commit/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)
===================================================================
--- lib/cache/index.js    2015-03-26 17:57:05 +0900 (9ff14c1)
+++ lib/cache/index.js    2015-03-26 18:25:12 +0900 (01429e7)
@@ -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;
-------------- next part --------------
HTML����������������������������...
Download 



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