hmm
This commit is contained in:
parent
c99f74b351
commit
8e6423e873
@ -108,11 +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('test')) {
|
||||
// scheduler.run('test');
|
||||
// }
|
||||
// }, 2000)
|
||||
// setInterval(async () => {
|
||||
// if (!scheduler.workers.has('deployApplication')) {
|
||||
// scheduler.run('deployApplication');
|
||||
|
@ -18,7 +18,7 @@ const options: any = {
|
||||
}
|
||||
},
|
||||
jobs: [
|
||||
{ name: 'test' },
|
||||
{ name: 'test',interval: '2s' },
|
||||
{
|
||||
name: 'deployApplication',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user