Skip to content

Commit

Permalink
Increase timeout to grow with the docker index
Browse files Browse the repository at this point in the history
[#83672766]

closes CenturyLinkLabs/panamax-ui/#424
  • Loading branch information
alexwelch committed Dec 1, 2014
1 parent 0d13ce8 commit 7328430
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/panamax_agent/registry/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def initialize(options={})

def default_options
{
read_timeout: 15
read_timeout: 30,
open_timeout: 10
}
end

Expand Down
4 changes: 2 additions & 2 deletions spec/lib/panamax_agent/registry/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
describe PanamaxAgent::Registry::Client do

describe 'default options' do
it 'defaults the read_timeout to 15' do
expect(subject.read_timeout).to eq 15
it 'defaults the read_timeout to 30' do
expect(subject.read_timeout).to eq 30
end
end
end

0 comments on commit 7328430

Please sign in to comment.