Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/runtime/scheduling/simple: Only dispatch one batch at a time
Since batches only get deleted after a successful dispatch, dispatching a batch while one is in progress will duplicate transactions that were already dispatched but not yet deleted. Note: this doesn't change current behaviour as the executor already enforces this. The added check only prevents potential future misuse of the scheduler.
- Loading branch information