-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EASY] Bump response size limit (#3080)
# Description Since October 6th we see alerts like `Failed to buffer the request body: length limit exceeded` indicating that the response returned by multiple solvers (`oneinch`, `zeroex`, `paraswap`, `balancer`) is too big for the driver. It's unclear why this suddenly started happening on a Sunday where nothing gets released or why it only seems to affect dex solvers but making the max response size configurable seems like a reasonable thing to do regardless. # Changes * Made drivers response size limit configurable and increased the default value by 3x. * Added trace log to print responses that exceed the limit to easily debug this the next time this happens (disabled by default but be temporarily enabled without restarting the pod) ## How to test e2e test covers parsing of the new config parameter
- Loading branch information
1 parent
388486d
commit 11df525
Showing
5 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters