Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. --> 3 fixes: 1. test not using a ctx with a cancel. 2. t.Parallel() was contributing to flakiness 3. added ctx done check in long running for loop <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved transaction processing to allow non-blocking behavior and better handle context cancellation. - Enhanced thread safety with the addition of mutex locks in various methods to prevent race conditions. - **Tests** - Updated test functions to include context management and cancellation capabilities for more robust testing scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information