Skip to content

Commit

Permalink
order by size,time in max_size in details
Browse files Browse the repository at this point in the history
  • Loading branch information
drdo committed Jul 4, 2024
1 parent f6454b6 commit 5412dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl Cache {
max_size AS (
SELECT hash, size
FROM rich_entries
ORDER BY size DESC
ORDER BY size DESC, time DESC
LIMIT 1) \
SELECT \
max_size.size AS max_size, \
Expand Down

0 comments on commit 5412dae

Please sign in to comment.