@@ -146,7 +146,7 @@ async function sync() {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (gSuspendedAppIds.has(app.d)) continue; // do not create jobs of suspended apps
|
||||
if (gSuspendedAppIds.has(app.id)) continue; // do not create jobs of suspended apps
|
||||
|
||||
const cronJobs = await createJobs(app, schedulerConfig); // if docker is down, the next sync() will recreate everything for this app
|
||||
gState[app.id] = { containerId: app.containerId, schedulerConfig, cronJobs };
|
||||
|
||||
Reference in New Issue
Block a user