Allow manually retrying attachment downloads
This commit is contained in:
parent
59b45399e4
commit
dfc310805a
16 changed files with 265 additions and 58 deletions
|
@ -254,6 +254,7 @@ const dataInterface: ClientInterface = {
|
|||
removeUnprocessed,
|
||||
removeAllUnprocessed,
|
||||
|
||||
getAttachmentDownloadJobById,
|
||||
getNextAttachmentDownloadJobs,
|
||||
saveAttachmentDownloadJob,
|
||||
resetAttachmentDownloadPending,
|
||||
|
@ -1476,6 +1477,9 @@ async function removeAllUnprocessed() {
|
|||
|
||||
// Attachment downloads
|
||||
|
||||
async function getAttachmentDownloadJobById(id: string) {
|
||||
return channels.getAttachmentDownloadJobById(id);
|
||||
}
|
||||
async function getNextAttachmentDownloadJobs(
|
||||
limit?: number,
|
||||
options?: { timestamp?: number }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue