You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(iroh-docs): ensure docs db write txn gets closed regularly under all circumstances (#2474)
## Description
The docs db uses batching to reduce the number of write transactions.
Before this, under certain circumstances (lots of activity, exclusively
writes) the transaction would remain open for a long time.
This adds logic to modify to make sure that transactions will be
committed when they get too old in any case.
## Breaking Changes
None
## Notes & open questions
## Change checklist
- [x] Self-review.
- [x] ~~Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.~~
- [x] ~~Tests if relevant.~~
- [x] ~~All breaking changes documented.~~
0 commit comments