master #17

Merged
emmatveev merged 11 commits from master into dev 2025-09-18 23:45:37 +03:00
Showing only changes of commit 7238b50ee6 - Show all commits

View File

@@ -24,6 +24,8 @@ class Command(BaseCommand):
if response.status_code != 200:
continue
Snapshot.objects.create(project=project, data=response.json())
if not project.stats_cron:
continue
cron = croniter.croniter(project.stats_cron, timezone.now())
next_date = cron.get_next(datetime.datetime)
project.next_stats_fetch_time = next_date