2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +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)), .and(queue_alias.field(queue).eq(queue_name)),
) )
.order(queue_alias.field(queue_time)) .order(queue_alias.field(queue_time))
.limit(10)
.for_update() .for_update()
.skip_locked() .skip_locked()
.single_value(); .single_value();