Skip to content

Commit

Permalink
Set page priority for images
Browse files Browse the repository at this point in the history
  • Loading branch information
reasv committed Mar 30, 2021
1 parent b824cf0 commit 9621fab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sqlx-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -1790,8 +1790,8 @@
]
}
},
"fd805ef66d1d065929e69303b968fa6fdf14111b701c4c0c31f83a189c4490d7": {
"query": "\n SELECT * FROM image_backlog\n ORDER BY id ASC\n LIMIT $1\n ",
"e3fcb30bd0439e028e9b9433da0d2c577ca1615fa822d14fb5618a0bcd68e0db": {
"query": "\n SELECT * FROM image_backlog\n ORDER BY (page, id) ASC\n LIMIT $1\n ",
"describe": {
"columns": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl DBClient {
let jobs = sqlx::query_as!(ImageJob,
"
SELECT * FROM image_backlog
ORDER BY id ASC
ORDER BY (page, id) ASC
LIMIT $1
",
limit
Expand Down

0 comments on commit 9621fab

Please sign in to comment.