<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">YUKI Hiroshi <shimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-20 15:10:21 +0900 (Mon, 20 Apr 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9">ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Generate static config file with "default_timeout" option</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#diff-0">bin/droonga-http-server-configure</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: bin/droonga-http-server-configure (+22 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L265">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L266">266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L267">267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L268">268</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L270">270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L271">271</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L300">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L301">301</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L302">302</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L303">303</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L304">304</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L305">305</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0L306">306</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R265">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R266">266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R267">267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R268">268</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R269">269</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R270">270</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R271">271</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R272">272</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R273">273</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R274">274</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R275">275</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R276">276</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R277">277</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R278">278</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R279">279</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R280">280</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R281">281</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R282">282</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R283">283</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R284">284</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R285">285</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R286">286</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R287">287</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R288">288</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R289">289</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R290">290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R291">291</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R292">292</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R321">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R322">322</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R323">323</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R324">324</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R325">325</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R326">326</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R327">327</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/ef2c0f831a3048b766e506b6d6b2d85f6b2e77a9#L0R328">328</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -266,6 +266,27 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function setIntegerOption(name, message) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+function setFloatOption(name, message) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return Q.Promise(function(resolve, reject, notify) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (!options.prompt) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ configValues[name] = options[name];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ resolve();</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ else {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ promptly.prompt(message + ' [' + options[name] + ']: ',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ { default: options[name],</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ retry: false },</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ function(error, value) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ value = parseFloat(value);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (isNaN(value))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ value = options[name];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ configValues[name] = value;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ resolve();</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ });</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ });</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function setBooleanOption(name, message) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise(function(resolve, reject, notify) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!options.prompt) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -301,6 +322,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function tryResetConfigs() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(function() { return setIntegerOption('droongaEnginePort', 'port number of the droonga-engine node'); })</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(function() { return setStringOption('tag', 'tag of the droonga-engine node'); })</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(function() { return setStringOption('defaultDataset', 'default dataset'); })</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ .then(function() { return setFloatOption('defaultTimeout', 'timeout for unresponsive connections (in seconds)'); })</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(function() { return setStringOption('accessLogFile', 'path to the access log file'); })</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(function() { return setStringOption('systemLogFile', 'path to the system log file'); })</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(function() { return setStringOption('systemLogLevel',</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>