Skip to content

Commit

Permalink
Increase default request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbinf committed May 8, 2021
1 parent 6ce1e35 commit ff2f624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PodcastApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Client = (config = {}) => {
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
this.httpClient = axios.create({
baseURL: config.apiKey ? API_BASE_PROD : API_BASE_TEST,
timeout: 10000,
timeout: 30000,
headers: {
'X-ListenAPI-Key': config.apiKey || '',
'User-Agent': config.userAgent || defaultUserAgent,
Expand Down

0 comments on commit ff2f624

Please sign in to comment.