Skip to content

Commit

Permalink
feat: allow proxyTimeout to be configured (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Apr 2, 2024
1 parent c261442 commit 816f0a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ var r = require("./resolver.js")

var proxy = new require('redbird')({
port: port,
resolvers: [r.defaultResolver]
resolvers: [r.defaultResolver],
proxyTimeout: parseInt(process.env.PROXY_TIMEOUT || 5 * 60, 10) * 1000
})

0 comments on commit 816f0a1

Please sign in to comment.