lightster / hodor

🚪 A worker queue that is evolving to a job queue
MIT License
4 stars 1 forks source link

Fix misplaced transaction #183

Closed lightster closed 8 years ago

lightster commented 8 years ago

PR #180 moved 2 of the 3 transaction begin/commits from the Superqueue to PgsqlAdapter, but the bufferJob() transaction was eliminated and the markJobAsQueued() transaction was duplicated. This PR removes the duplicate transaction from markJobAsQueued() and adds a transaction to bufferJob().