2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Remove LIMIT 10, single_value is already in use

This commit is contained in:
asonix 2024-01-04 11:13:29 -06:00
parent 0ed221438f
commit 688c797082

View file

@ -1191,7 +1191,6 @@ impl QueueRepo for PostgresRepo {
.and(queue_alias.field(queue).eq(queue_name)),
)
.order(queue_alias.field(queue_time))
.limit(10)
.for_update()
.skip_locked()
.single_value();