txn: refactor adding transactions to the synchro queue
txn_commit() and txn_commit_try_async() share the common logic of determining if a transaction should go to the synchronous transaction queue and then putting the transaction there. Factor the common places out to a helper. Part-of #7592 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Loading
Please register or sign in to comment