Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.~~
- Loading branch information