Skip to content

Commit

Permalink
perf(httpclient): Increase default timeout to 5 seconds
Browse files Browse the repository at this point in the history
The default timeout of three seconds is not enough to activate large configurations, this change
increases the default to five seconds
  • Loading branch information
trieloff committed Jan 14, 2019
1 parent fc1a258 commit 115da20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Fastly {
this.service_id = service_id;
this.request = axios.create({
baseURL: config.mainEntryPoint,
timeout: 3000,
timeout: 5000,
headers: { 'Fastly-Key': token },
});

Expand Down

0 comments on commit 115da20

Please sign in to comment.