Skip to content

Commit

Permalink
server: enable ForeverAgent to pool HTTPS/HTTP connections
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Mar 4, 2019
1 parent 0cd5521 commit 4f03f25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/server/lib/request.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ createCookieString = (c) ->
module.exports = (options = {}) ->
defaults = {
timeout: options.timeout ? 20000
# forever: true
## re-use all HTTP/HTTPS connections if possible
## https://github.com/cypress-io/cypress/issues/3192
forever: true
}

r = r.defaults(defaults)
Expand Down

0 comments on commit 4f03f25

Please sign in to comment.