Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

debug

Andras Bacsaic99f74b351ee
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 52b4bfd50b..14833c8265 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -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');