osuosl / timesync-node

NodeJS implementation of the TimeSync API
Other
4 stars 5 forks source link

Use transactions #153

Closed tschuy closed 9 years ago

tschuy commented 9 years ago

c'est bon pour la santé!

Right now if we suffer a bug, something that makes something throw, etc., our data is happily saved into some random incomplete state.

Using transactions would save us from this HORRIBLE, HORRIBLE fate.

tschuy commented 9 years ago

Handy dandy docs http://knexjs.org/#Transactions

MorganEPatch commented 9 years ago

This has been solved by #191 and #192.