JackAdams / meteor-transactions

App level transactions for Meteor + Mongo
http://transactions.taonova.com/
MIT License
113 stars 16 forks source link

Need to have a failsafe to prevent client getting into a bad state. #7

Closed JackAdams closed 7 years ago

JackAdams commented 9 years ago

On the server, an open transaction will time out after 5 seconds (by default) and auto-commit. The same thing should happen on the client to prevent a bad state scenario in case the client side app code starts a transaction explicitly but doesn't commit it explicitly.