Skip to content

Commit

Permalink
fix: remove initial delay to speed up requests
Browse files Browse the repository at this point in the history
  • Loading branch information
cjk7989 committed Oct 31, 2023
1 parent affefb2 commit 9c91af7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/msha/middlewares/request.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ async function serveStaticOrProxyResponse(req: http.IncomingMessage, res: http.S
let promises = waitOnOneOfResources.map((resource) => {
return waitOn({
resources: [resource],
delay: 1000, // initial delay in ms, default 0
interval: 100, // poll interval in ms, default 250ms
simultaneous: 1, // limit to 1 connection per resource at a time
timeout: 60000, // timeout in ms, default Infinity
Expand Down

0 comments on commit 9c91af7

Please sign in to comment.