Skip to content

Commit

Permalink
fix: remove 'socket' timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Apr 16, 2021
1 parent 9691120 commit b730141
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/utils/got.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const custom = ((got as unknown) as Got).extend({
response: config.resp_timeout * 1000,
lookup: config.before_resp_timeout * 1000,
connect: config.before_resp_timeout * 1000,
secureConnect: config.before_resp_timeout * 1000,
socket: config.before_resp_timeout * 1000
secureConnect: config.before_resp_timeout * 1000
},
agent: agent,
cache: config.http_cache ? new QuickLru({ maxSize: 1000 }) : false
Expand Down

0 comments on commit b730141

Please sign in to comment.