Skip to content

Commit

Permalink
request timeout has to be integer. #633
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Sep 17, 2020
1 parent beb7db6 commit 831f22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/elasticsearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
host: ENV['ES_HOST'],
port: '80',
scheme: 'http',
request_timeout: ENV['ES_REQUEST_TIMEOUT']
request_timeout: ENV['ES_REQUEST_TIMEOUT'].to_i
) do |f|
f.request :aws_sigv4,
credentials: Aws::Credentials.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']),
Expand Down

0 comments on commit 831f22c

Please sign in to comment.