Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tx_gateway_frontend: expire all old txs instead of one at a time
Expiring one old txn sesison per new tx helps to maintain the txn sessions cache size at the capacity but it won't bring the cache size down if it's already beyond max_transactions_per_coordinator (it may happen when a user sets max_transactions_per_coordinator for the first time). Fixing it by bulk expiring.
- Loading branch information