Skip to content
Snippets Groups Projects
Commit 1c08633b authored by Serge Petrenko's avatar Serge Petrenko Committed by Vladislav Shpilevoy
Browse files

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
parent f53fde16
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment