Commit

a31447e

When multiple cron workers pull pending payout rows from the same table, plain SELECT ... FOR UPDATE makes the second worker sit idle waiting on row locks. Adding SKIP LOCKED lets each worker grab the next unlocked batch immediately without stepping on each other.

commit a31447e

[deleted]This commit was deleted.