hmm
This commit is contained in:
@@ -108,11 +108,11 @@ fastify.listen({ port, host }, async (err: any, address: any) => {
|
|||||||
// await scheduler.start('cleanupPrismaEngines');
|
// await scheduler.start('cleanupPrismaEngines');
|
||||||
// await scheduler.start('checkProxies');
|
// await scheduler.start('checkProxies');
|
||||||
|
|
||||||
setInterval(async () => {
|
// setInterval(async () => {
|
||||||
if (!scheduler.workers.has('test')) {
|
// if (!scheduler.workers.has('test')) {
|
||||||
scheduler.run('test');
|
// scheduler.run('test');
|
||||||
}
|
// }
|
||||||
}, 2000)
|
// }, 2000)
|
||||||
// setInterval(async () => {
|
// setInterval(async () => {
|
||||||
// if (!scheduler.workers.has('deployApplication')) {
|
// if (!scheduler.workers.has('deployApplication')) {
|
||||||
// scheduler.run('deployApplication');
|
// scheduler.run('deployApplication');
|
||||||
|
@@ -18,7 +18,7 @@ const options: any = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
jobs: [
|
jobs: [
|
||||||
{ name: 'test' },
|
{ name: 'test',interval: '2s' },
|
||||||
{
|
{
|
||||||
name: 'deployApplication',
|
name: 'deployApplication',
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user