Open saurabhnanda opened 2 hours ago
If you compare jobPollingSql vs jobPollingWithResourceSql you'll find that the latter not using "FOR UPDATE"
jobPollingSql
jobPollingWithResourceSql
https://github.com/saurabhnanda/odd-jobs/blob/a159d7a17913725a0cb2a2251fa0b812acd3d160/src/OddJobs/Job/Query.hs#L22-L34
cc: @ivb-supercede
FYI, Isaac no longer works at Supercede, so he's probably only reachable through @ivanbakel.
If you compare
jobPollingSql
vsjobPollingWithResourceSql
you'll find that the latter not using "FOR UPDATE"https://github.com/saurabhnanda/odd-jobs/blob/a159d7a17913725a0cb2a2251fa0b812acd3d160/src/OddJobs/Job/Query.hs#L22-L34
cc: @ivb-supercede