This commit is contained in:
Andras Bacsai 2022-08-25 11:49:19 +02:00
parent 57b462223c
commit c99f74b351

View File

@ -108,6 +108,11 @@ fastify.listen({ port, host }, async (err: any, address: any) => {
// await scheduler.start('cleanupPrismaEngines');
// await scheduler.start('checkProxies');
setInterval(async () => {
if (!scheduler.workers.has('test')) {
scheduler.run('test');
}
}, 2000)
// setInterval(async () => {
// if (!scheduler.workers.has('deployApplication')) {
// scheduler.run('deployApplication');