Skip to content

Commit

Permalink
Added initial full sync (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
malinowskikam committed Jun 26, 2024
1 parent a352fa9 commit 3cd23a6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ def __init__(
def start(self):
logging.info("Starting scheduler")
self.scheduler.add_job(
self._sync_changelog, "cron", **self.config.get("changelog_sync_cron", default_changelog_sync_cron)
self._sync_changelog, "cron", id='changelog_sync',
**self.config.get("changelog_sync_cron", default_changelog_sync_cron)
)
self.scheduler.add_job(
self._sync_full, "cron", **self.config.get("full_sync_cron", default_full_sync_cron)
self._sync_full, "cron", id='full_sync', **self.config.get("full_sync_cron", default_full_sync_cron)
)
self._sync_full()
self.scheduler.start()

def stop(self):
Expand Down

0 comments on commit 3cd23a6

Please sign in to comment.