top | item 40695248 (no title) 698969 | 1 year 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? discuss order hn newest surprisetalk|1 year ago Yes, it would definitely be more performant to move it outside of the transaction :) good catch
surprisetalk|1 year ago Yes, it would definitely be more performant to move it outside of the transaction :) good catch
surprisetalk|1 year ago