-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sui-rosetta: fix panic when setting usize::MAX max_concurrent_requests
This fixes a panic that was seen when rosetta constructs a jsonrpc client with max_concurrent_requests of usize::MAX by changing how client construction happens to have the default be to disable any limit in concurrent requests (which is essentially what rosetta was trying to do).
- Loading branch information
Showing
2 changed files
with
16 additions
and
13 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