Keep Alive on got ? #2318
Unanswered
Vance-ng-vn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using got-scraping 4.0.2 (base on got 13.0.0). When I set 'http2: false' and check the value of got.defaults.options.agent.http/https, by default, the keepAlive values are set to false. I tried extend() it, but got requires a valid agent instead of extending some values! (and its doesnt work with 'new http/https.Agent()')
So, I used it like this. Is it correct?
Beta Was this translation helpful? Give feedback.
All reactions