Skip to content

Commit

Permalink
Invert channel order - more frequent last
Browse files Browse the repository at this point in the history
This will help users on more frequent channels be notified more reliably
if the lambda exceeds the maximum execution time.
  • Loading branch information
rossjrw committed Mar 4, 2023
1 parent e8f532b commit 58943c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions notifier/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
# Notification channels with frequency names mapping to the crontab of that
# frequency.
notification_channels = {
"hourly": "0 * * * *",
"8hourly": "0 */8 * * *",
"daily": "0 0 * * *",
"weekly": "0 0 * * 0",
"monthly": "0 0 1 * *",
"test": "x x x x x", # pycron accepts this value but it never passes
"monthly": "0 0 1 * *",
"weekly": "0 0 * * 0",
"daily": "0 0 * * *",
"8hourly": "0 */8 * * *",
"hourly": "0 * * * *",
}


Expand Down

0 comments on commit 58943c9

Please sign in to comment.