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
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();