mirror of
https://github.com/plausible/analytics.git
synced 2024-11-22 18:52:38 +03:00
Clean up deleted sites from clickhouse cron (#4065)
This commit is contained in:
parent
64850cd00f
commit
9f6ea00a72
@ -524,7 +524,9 @@ cloud_cron = [
|
||||
# Every midnight
|
||||
{"0 0 * * *", Plausible.Workers.LockSites},
|
||||
# Daily at 8
|
||||
{"0 8 * * *", Plausible.Workers.AcceptTrafficUntil}
|
||||
{"0 8 * * *", Plausible.Workers.AcceptTrafficUntil},
|
||||
# First sunday of the month, 4:00 UTC
|
||||
{"0 4 1-7 * SUN", Plausible.Workers.ClickhouseCleanSites}
|
||||
]
|
||||
|
||||
crontab = if(is_selfhost, do: base_cron, else: base_cron ++ cloud_cron)
|
||||
|
Loading…
Reference in New Issue
Block a user