Order unprocessed envelopes by receivedAtCounter

This commit is contained in:
Fedor Indutny 2022-06-10 09:09:21 -07:00 committed by GitHub
parent 924c271b13
commit 6aeddb9301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 50 additions and 14 deletions

View file

@ -3254,7 +3254,7 @@ async function getAllUnprocessedAndIncrementAttempts(): Promise<
`
SELECT *
FROM unprocessed
ORDER BY timestamp ASC;
ORDER BY receivedAtCounter ASC;
`
)
.all();