-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix performance regression of `GetFilteredDelegationsAndRewardAccount…
…s` (#104) # Description Addition of deposits made `rewView` extremly expensive, because it now iterates the full staking credentials Map. The proper way to do it is to restrict the Map first and then do the conversion. This will very likely fix the timeout issue in CardanoSolutions/ogmios#313
- Loading branch information
Showing
2 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...5_alexey.kuleshevich_fix_performance_GetFilteredDelegationsAndRewardAccounts.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- | ||
A new scriv changelog fragment. | ||
Uncomment the section that is right (remove the HTML comment wrapper). | ||
--> | ||
|
||
|
||
### Patch | ||
|
||
- Fix performance regression of `GetFilteredDelegationsAndRewardAccounts` query | ||
|
||
<!-- | ||
### Non-Breaking | ||
- A bullet item for the Non-Breaking category. | ||
--> | ||
<!-- | ||
### Breaking | ||
- A bullet item for the Breaking category. | ||
--> |
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