Navigation Menu

Skip to content

Commit

Permalink
groonga-client: disable auto retry on read timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 27, 2017
1 parent df9c5bf commit 4242b06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/groonga-client
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"

command_line = Groonga::Client::CommandLine::GroongaClient.new
Expand Down

0 comments on commit 4242b06

Please sign in to comment.