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:
parent
0ed221438f
commit
688c797082
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue