dx: only allow cleanup in production
This commit is contained in:
parent
25abfaadb9
commit
b04d75ab08
@ -87,7 +87,7 @@ const cron = async () => {
|
|||||||
|
|
||||||
await queue.proxy.add('proxy', {}, { repeat: { every: 10000 } });
|
await queue.proxy.add('proxy', {}, { repeat: { every: 10000 } });
|
||||||
// await queue.ssl.add('ssl', {}, { repeat: { every: 10000 } });
|
// await queue.ssl.add('ssl', {}, { repeat: { every: 10000 } });
|
||||||
await queue.cleanup.add('cleanup', {}, { repeat: { every: 3600000 } });
|
if (!dev) await queue.cleanup.add('cleanup', {}, { repeat: { every: 3600000 } });
|
||||||
await queue.sslRenew.add('sslRenew', {}, { repeat: { every: 1800000 } });
|
await queue.sslRenew.add('sslRenew', {}, { repeat: { every: 1800000 } });
|
||||||
|
|
||||||
const events = {
|
const events = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user