We are using babrahams:transaction library in our project. We have business case where we need to add timeout as part of transaction commit(tx.commit()). If transaction is taking more that x milliseconds to complete all queries to commit, then it should rollback all the changes.
Please let me know whether this can be achieved using babrahams:transaction library? If not, can this be achieved logically in meteor code?
Thanks in advance.
We are using babrahams:transaction library in our project. We have business case where we need to add timeout as part of transaction commit(tx.commit()). If transaction is taking more that x milliseconds to complete all queries to commit, then it should rollback all the changes.
Please let me know whether this can be achieved using babrahams:transaction library? If not, can this be achieved logically in meteor code?
Thanks in advance.