[Groonga-commit] droonga/express-droonga at 711b70c [master] Add an API to clear cache

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 19 19:06:06 JST 2014


YUKI Hiroshi	2014-11-19 19:06:06 +0900 (Wed, 19 Nov 2014)

  New Revision: 711b70cb769dc0ec58be7c4b0ad0172da76ba00d
  https://github.com/droonga/express-droonga/commit/711b70cb769dc0ec58be7c4b0ad0172da76ba00d

  Message:
    Add an API to clear cache

  Modified files:
    lib/cache/index.js

  Modified: lib/cache/index.js (+4 -0)
===================================================================
--- lib/cache/index.js    2014-11-19 17:02:24 +0900 (2c676a2)
+++ lib/cache/index.js    2014-11-19 19:06:06 +0900 (9ff14c1)
@@ -45,6 +45,10 @@ Cache.prototype = {
       "nHits": this.nHits,
       "hitRatio": hitRatio
     };
+  },
+
+  clear: function(callack) {
+    this.cache.clear(callack);
   }
 };
 module.exports = Cache;
-------------- next part --------------
HTML����������������������������...
下載 



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