Skip to content

Commit

Permalink
Revert "fix(nimbus): change jetstream fetch to integer scheduling" (#…
Browse files Browse the repository at this point in the history
…11828)

Reverts #11800

This didn't resolve the issue, and we've determined that this was not
actually the cause of the problem, so let's go back to the crontab-style
scheduling.
  • Loading branch information
mikewilli authored Nov 25, 2024
1 parent 8f8b152 commit 3f8ddf6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions experimenter/experimenter/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from pathlib import Path
from urllib.parse import urljoin

from celery.schedules import crontab
from decouple import config
from django.contrib.admin import ModelAdmin, StackedInline, TabularInline
from django.db.models import DecimalField, ForeignKey, JSONField, ManyToManyField
Expand Down Expand Up @@ -390,11 +391,11 @@
},
"fetch_jetstream_data": {
"task": "experimenter.jetstream.tasks.fetch_jetstream_data",
"schedule": 14400, # 4 hours
"schedule": crontab(minute=0, hour="*/6"),
},
"fetch_population_sizing_data": {
"task": "experimenter.jetstream.tasks.fetch_population_sizing_data",
"schedule": 86400, # 24 hours
"schedule": 86400,
},
}

Expand Down

0 comments on commit 3f8ddf6

Please sign in to comment.