Skip to content

Commit 8f9c770

Browse files
committed
bump MaxConcurrentRelaysPerRequest to 5.5k
1 parent 317670b commit 8f9c770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol/shannon/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const maxEndpointPayloadLenForLogging = 100
4343
// MaxConcurrentRelaysPerRequest limits the number of concurrent relay goroutines per request.
4444
// This prevents DoS attacks via large batch requests that could spawn unbounded goroutines.
4545
// TODO_IMPROVE: Make this configurable via gateway settings.
46-
const MaxConcurrentRelaysPerRequest = 1000
46+
const MaxConcurrentRelaysPerRequest = 5500
4747

4848
// requestContext provides all the functionality required by the gateway package
4949
// for handling a single service request.

0 commit comments

Comments
 (0)