Navigation Menu

Skip to content

Commit

Permalink
groonga-client-index-recreate: disable retry on timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 27, 2017
1 parent 169dac0 commit 8a718c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/groonga-client-index-recreate
Expand Up @@ -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
Expand Down

0 comments on commit 8a718c7

Please sign in to comment.