Skip to content

Commit

Permalink
fix: timer setting for organization sync
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Dec 5, 2023
1 parent afb56cf commit 617ed51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/sync-default-organizations.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const task = new Task('sync-default-organizations', async () => {
} catch (error) {
logger.error(
`Retrying in ${
CONFIG?.TASK?.GOVERNANCE_SYNC_TASK_INTERVAL || 30
CONFIG?.TASKS?.GOVERNANCE_SYNC_TASK_INTERVAL || 30
} seconds`,
error,
);
Expand All @@ -30,7 +30,7 @@ const task = new Task('sync-default-organizations', async () => {

const job = new SimpleIntervalJob(
{
seconds: CONFIG?.TASK?.GOVERNANCE_SYNC_TASK_INTERVAL || 30,
seconds: CONFIG?.TASKS?.GOVERNANCE_SYNC_TASK_INTERVAL || 30,
runImmediately: true,
},
task,
Expand Down

0 comments on commit 617ed51

Please sign in to comment.