2 ms·
In one of the snippets, there is a 10 second sleep inside a transaction to add delays between polling if there are no tasks, Shouldn't that be outside the tran
by 698969 2y ago
In one of the snippets, there is a 10 second sleep inside a transaction to add delays between polling if there are no tasks,
Shouldn't that be outside the transaction?
- surprisetalk 2y agoYes, it would definitely be more performant to move it outside of the transaction :) good catch