<div dir="ltr"><div>お世話になっております。</div><div>藤野と申します。</div><div><br></div><div>Groonga6.1.0、CentOS7で位置情報検索を行っています。</div><div>開発者からリクエストタイムアウトを要望され、groongaのリクエストタイムアウトを検証しました。</div><div><a href="http://groonga.org/ja/docs/reference/commands/request_cancel.html">http://groonga.org/ja/docs/reference/commands/request_cancel.html</a></div><div><br></div><div>以下のような--request_timeout &#39;2.0&#39;を付加したselectコマンドを発行しましたが、</div><div>2秒でタイムアウトできませんでした(10秒掛かってデータ結果が返ってきている)。</div><div>select --filter &#39;geo_in_circle(wgs84_geo_point, &quot;128451091x503161044&quot;, 1000000)&#39; --output_columns &#39;xxx,xxx&#39; --limit &#39;-1&#39; --command_version &#39;1&#39; --scorer &#39;_score=geo_distance(wgs84_geo_point, &quot;128451091x503161044&quot;)&#39; --output_type &#39;json&#39; --request_timeout &#39;2.0&#39; --table &#39;master&#39; --sort_keys &#39;geo_distance(wgs84_geo_point, &quot;128451091x503161044&quot;)&#39;</div><div><br></div><div>クエリーログの結果</div><div>2017-02-20 08:06:30.706427|0x6fc220|&gt;/d/select?filter=geo_in_circle%28wgs84_geo_point%2C+%22128451091x503161044%22%2C+1000000%29&amp;output_columns=xxx%2xxx%2xxx&amp;limit=-1&amp;command_version=1&amp;scorer=_score%3Dgeo_distance%28wgs84_geo_point%2C+%22128451091x503161044%22%29&amp;output_type=json&amp;request_timeout=2.0&amp;table=master&amp;sort_keys=geo_distance%28wgs84_geo_point%2C+%22128451091x503161044%22%29</div><div>2017-02-20 08:06:30.760991|0x6fc220|:000000054569655 filter(223839)</div><div>2017-02-20 08:06:30.761013|0x6fc220|:000000054589041 select(223839)</div><div>2017-02-20 08:06:30.860003|0x6fc220|:000000153581634 score(223839)</div><div>2017-02-20 08:06:38.219353|0x6fc220|:000007512939916 sort(223839)</div><div>2017-02-20 08:06:40.987030|0x6fc220|:000010280617588 output(223839)</div><div>2017-02-20 08:06:40.987553|0x6fc220|&lt;000010281131220 rc=0</div><div><br></div><div>リクエストタイムアウトできない原因をご教授いただけると幸いです。</div><div><br></div><div>宜しく御願い致します。</div></div>