[Groonga-commit] ranguba/groonga-client at 8a718c7 [master] groonga-client-index-recreate: disable retry on timeout

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 27 12:57:33 JST 2017


Kouhei Sutou	2017-10-27 12:57:33 +0900 (Fri, 27 Oct 2017)

  New Revision: 8a718c749d88b8c703c7b61212f3af54a7867cca
  https://github.com/ranguba/groonga-client/commit/8a718c749d88b8c703c7b61212f3af54a7867cca

  Message:
    groonga-client-index-recreate: disable retry on timeout

  Modified files:
    bin/groonga-client-index-recreate

  Modified: bin/groonga-client-index-recreate (+6 -0)
===================================================================
--- bin/groonga-client-index-recreate    2017-10-27 12:12:23 +0900 (4e591fd)
+++ bin/groonga-client-index-recreate    2017-10-27 12:57:33 +0900 (aad43f3)
@@ -17,6 +17,12 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
+require "net/http"
+
+if Net::HTTP.const_defined?(:IDEMPOTENT_METHODS_)
+  Net::HTTP::IDEMPOTENT_METHODS_.clear
+end
+
 require "groonga/client/command-line/groonga-client-index-recreate"
 
 command_line = Groonga::Client::CommandLine::GroongaClientIndexRecreate.new
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171027/2595295b/attachment.htm 



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