[Groonga-commit] droonga/droonga-http-server at 7d8486a [master] Ask TTL of caches by droonga-http-server-configure

Back to archive index

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


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

  New Revision: 7d8486a301aa3488240459b36bb3268a8d2f7042
  https://github.com/droonga/droonga-http-server/commit/7d8486a301aa3488240459b36bb3268a8d2f7042

  Message:
    Ask TTL of caches by droonga-http-server-configure

  Modified files:
    bin/droonga-http-server-configure
    lib/server-options.js

  Modified: bin/droonga-http-server-configure (+1 -0)
===================================================================
--- bin/droonga-http-server-configure    2014-11-19 18:13:47 +0900 (ed1969b)
+++ bin/droonga-http-server-configure    2014-11-19 18:15:06 +0900 (ec14502)
@@ -306,6 +306,7 @@ function tryResetConfigs() {
                                                 'log level for the system log (' +
                                                    'silly,debug,verbose,info,warn,error)'); })
       .then(function() { return setIntegerOption('cacheSize', 'maximum size of the response cache'); })
+      .then(function() { return setIntegerOption('cacheTtlInSeconds', 'time to live of cached responses, in seconds'); })
       .then(function() { return setBooleanOption('enableTrustProxy', 'enable "trust proxy" configuration'); })
       .then(function() { return setStringOption('environment', 'environment'); })
       .then(resolve);

  Modified: lib/server-options.js (+1 -1)
===================================================================
--- lib/server-options.js    2014-11-19 18:13:47 +0900 (bd98518)
+++ lib/server-options.js    2014-11-19 18:15:06 +0900 (df8932f)
@@ -83,7 +83,7 @@ function define() {
         '(' + options.cacheSize + ')',
       optionUtils.intOption);
   add('--cache-ttl-in-seconds <seconds>',
-      'The time to live of cached responses ' +
+      'The time to live of cached responses, in seconds ' +
         '(' + options.cacheTtlInSeconds + ')',
       optionUtils.intOption);
   add('--enable-trust-proxy',
-------------- next part --------------
HTML����������������������������...
下載 



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