Closed jonathan-d-zhang closed 3 months ago
We need to lock during the select in order to make sure only one thread is returning a specific package. To avoid race conditions where two threads write twice to the same row, we use SKIP LOCKED.
SKIP LOCKED
Closes #234
We need to lock during the select in order to make sure only one thread is returning a specific package. To avoid race conditions where two threads write twice to the same row, we use
SKIP LOCKED
.Closes #234