Skip to content

Commit

Permalink
Enable locality synchronization in the sync locations module
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Jan 22, 2025
1 parent a5e3ef9 commit b28ff84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/sync-locations/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import LOGGER from '@helperkits/logger';
/* * */

import { syncDistricts } from '@/tasks/sync-districts.js';
import { syncLocalities } from '@/tasks/sync-localities.js';
import { syncMunicipalities } from '@/tasks/sync-municipalities.js';
import { syncParishes } from '@/tasks/sync-parishes.js';
// import { syncLocalities } from '@/tasks/sync-districts.js';

/* * */

Expand All @@ -25,7 +25,7 @@ const RUN_INTERVAL = 3600000; // 1 hour
await syncDistricts();
await syncMunicipalities();
await syncParishes();
// await syncLocalities();
await syncLocalities();

setTimeout(runOnInterval, RUN_INTERVAL);

Expand Down

0 comments on commit b28ff84

Please sign in to comment.