mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-09-18 21:38:07 +00:00
de-duplicate object storage jobs
This commit is contained in:
parent
fc4ed0da5a
commit
95a27f4eb4
1 changed files with 6 additions and 0 deletions
|
@ -711,6 +711,9 @@ export class QueueService {
|
||||||
age: 3600 * 24 * 7, // keep up to 7 days
|
age: 3600 * 24 * 7, // keep up to 7 days
|
||||||
count: 100,
|
count: 100,
|
||||||
},
|
},
|
||||||
|
deduplication: {
|
||||||
|
id: key,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -728,6 +731,9 @@ export class QueueService {
|
||||||
age: 3600 * 24 * 7, // keep up to 7 days
|
age: 3600 * 24 * 7, // keep up to 7 days
|
||||||
count: 100,
|
count: 100,
|
||||||
},
|
},
|
||||||
|
deduplication: {
|
||||||
|
id: `${olderThanSeconds}_${keepFilesInUse}`,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue