revert cleanup job to uncached settings
This commit is contained in:
1 parent
50d0721822
commit
20ce11497e
1 file changed
+1
-1
@@ -199,7 +199,7 @@ export class WorkerHelper implements IWorkerHelper {
|
|||||||
getCleanupRetentionJob = () => {
|
getCleanupRetentionJob = () => {
|
||||||
return async () => {
|
return async () => {
|
||||||
try {
|
try {
|
||||||
const settings = await this.settingsService.getCachedDBSettings();
|
const settings = await this.settingsService.getDBSettings();
|
||||||
|
|
||||||
const checkTTL = settings.checkTTL; // Check TTL is in DAYS, not MS
|
const checkTTL = settings.checkTTL; // Check TTL is in DAYS, not MS
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user