mirror of https://github.com/zulip/zulip.git
puppet: Remove typo'd cron job.
54b6a83412
fixed the typo introduced in49ad188449
, but that does not clean up existing installs which had the file with the wrong name already. Remove the file with the typo'd name, so two jobs do not race, and fix the typo in the comment.
This commit is contained in:
parent
513fcb7bd5
commit
814841c9ec
|
@ -220,4 +220,8 @@ class zulip::app_frontend_base {
|
|||
mode => '0644',
|
||||
source => 'puppet:///modules/zulip/cron.d/fetch-tor-exit-nodes',
|
||||
}
|
||||
# This was originally added with a typo in the name.
|
||||
file { '/etc/cron.d/fetch-for-exit-nodes':
|
||||
ensure => absent,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -888,7 +888,7 @@ def get_tor_ips() -> Set[str]:
|
|||
if not settings.RATE_LIMIT_TOR_TOGETHER:
|
||||
return set()
|
||||
|
||||
# Cron job in /etc/cron.d/fetch-for-exit-nodes fetches this
|
||||
# Cron job in /etc/cron.d/fetch-tor-exit-nodes fetches this
|
||||
# hourly; we cache it in memcached to prevent going to disk on
|
||||
# every unauth'd request. In case of failures to read, we
|
||||
# circuit-break so 2 failures cause a 10-minute backoff.
|
||||
|
|
Loading…
Reference in New Issue