Order unprocessed envelopes by receivedAtCounter
This commit is contained in:
parent
924c271b13
commit
6aeddb9301
6 changed files with 50 additions and 14 deletions
|
@ -3254,7 +3254,7 @@ async function getAllUnprocessedAndIncrementAttempts(): Promise<
|
|||
`
|
||||
SELECT *
|
||||
FROM unprocessed
|
||||
ORDER BY timestamp ASC;
|
||||
ORDER BY receivedAtCounter ASC;
|
||||
`
|
||||
)
|
||||
.all();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue