Skip to content

Commit 46303eb

Browse files
authored
more patience in the overload-protection (github#27654)
1 parent 344e620 commit 46303eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

middleware/overload-protection.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const config = {
55
errorPropagationMode: false, // dictate behavior: take over the response or propagate an error to the framework [default false]
66
logging: false,
77
logStatsOnReq: false,
8+
// Default is 42. We're being more conservative.
9+
maxEventLoopDelay: 150,
810
}
911

1012
export default overloadProtection('express', config)

0 commit comments

Comments
 (0)