mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Simplify attachment jobs SQL query
This commit is contained in:
@@ -4249,7 +4249,7 @@ async function getNextAttachmentDownloadJobs(
|
||||
`
|
||||
SELECT json
|
||||
FROM attachment_downloads
|
||||
WHERE pending = 0 AND timestamp < $timestamp
|
||||
WHERE pending = 0 AND timestamp <= $timestamp
|
||||
ORDER BY timestamp DESC
|
||||
LIMIT $limit;
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user