Skip to content

Commit 90bc992

Browse files
Merge pull request #2753 from IFRCGo/chore/update-helm-values
Fix(alert-system): Update the schedule for polling Cronjobs.
2 parents e9949d5 + 86e935b commit 90bc992

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

deploy/helm/ifrcgo-helm/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ cronjobs:
277277
- command: 'notify_validators'
278278
schedule: '0 0 * * *'
279279
- command: 'poll_gdacs_cyclone'
280-
schedule: '0 0 * * 0'
280+
schedule: '0 11 * * 0'
281281
- command: 'poll_gdacs_flood'
282-
schedule: '15 9 * * *'
282+
schedule: '0 11 * * *'
283283
- command: 'poll_usgs_earthquake'
284-
schedule: '0 0 * * 0'
284+
schedule: '0 18 * * 0'
285285
- command: 'alert_notification'
286286
schedule: '0 */2 * * *'
287287
# https://github.com/jazzband/django-oauth-toolkit/blob/master/docs/management_commands.rst#cleartokens

main/sentry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ class SentryMonitor(models.TextChoices):
129129
INGEST_NS_INITIATIVES = "ingest_ns_initiatives", "0 0 * * 0"
130130
INGEST_ICRC = "ingest_icrc", "0 3 * * 0"
131131
NOTIFY_VALIDATORS = "notify_validators", "0 0 * * *"
132-
POLL_USGS_EARTHQUAKE = "poll_usgs_earthquake", "0 0 * * 0"
133-
POLL_GDACS_FLOOD = "poll_gdacs_flood", "15 9 * * *"
134-
POLL_GDACS_CYCLONE = "poll_gdacs_cyclone", "0 0 * * 0"
132+
POLL_USGS_EARTHQUAKE = "poll_usgs_earthquake", "0 18 * * 0"
133+
POLL_GDACS_FLOOD = "poll_gdacs_flood", "0 11 * * *"
134+
POLL_GDACS_CYCLONE = "poll_gdacs_cyclone", "0 11 * * 0"
135135
OAUTH_CLEARTOKENS = "oauth_cleartokens", "0 1 * * *"
136136
EAP_SUBMISSION_REMINDER = "eap_submission_reminder", "0 0 * * *"
137137
ALERT_NOTIFICATION = "alert_notification", "0 */2 * * *"

0 commit comments

Comments
 (0)