Skip to content

Commit

Permalink
Sync Molnix at every 15th minute
Browse files Browse the repository at this point in the history
  • Loading branch information
szabozoltan69 committed Jun 19, 2024
1 parent 10ce09a commit fa7f5a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 575 deletions.
2 changes: 1 addition & 1 deletion api/management/commands/sync_molnix.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def handle(self, *args, **options):
logger.info("Fetched countries, now fetching deployments")
deployments = molnix.get_deployments()
logger.info("Fetched deployments, now fetching positions")
open_positions = molnix.get_open_positions()
open_positions = molnix.get_not_only_open_positions() # FIXME: paginated
logger.info("Fetched positions")
except Exception as ex:
msg = "Failed to fetch data from Molnix API: %s" % str(ex)
Expand Down
Loading

0 comments on commit fa7f5a8

Please sign in to comment.