-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set the in-flight limit on the demuxed calls to 1 for now (#8249)
Lack of in-flight limit caused a bug in implementation of network graph recomputation: - recomputation demux rate limit was set to 1/s - recomputation was taking >10s on mainnet (for unrelated reasons) - recomputations cannot be executed in parallel (they acquire a single mutex) - steady inflow of new edges was triggering a recomputation every 1s, while each recomputation took >10s (after acquiring the mutex), making the recomputations queue unboundedly - the delay of adding an edge to the graph was growing indefinitely, eventually making the edges expire before even it was added to the graph
- Loading branch information
Showing
1 changed file
with
40 additions
and
24 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