From b8a151ca4e82429c4445b07cd156b94987138ccc Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 3 Dec 2013 16:14:57 -0500 Subject: [PATCH] Revert "[puppet] Add cron job to restart our workers daily." This reverts commit 0b0180b0751f6c618d877b9c9ffc2b8287254e4d. (imported from commit a81c552100345d369ffcaf69f28a86dea0893128) --- puppet/zulip_internal/files/cron.d/restart-workers | 5 ----- puppet/zulip_internal/manifests/app_frontend.pp | 7 ------- 2 files changed, 12 deletions(-) delete mode 100644 puppet/zulip_internal/files/cron.d/restart-workers diff --git a/puppet/zulip_internal/files/cron.d/restart-workers b/puppet/zulip_internal/files/cron.d/restart-workers deleted file mode 100644 index c9cfd02d57..0000000000 --- a/puppet/zulip_internal/files/cron.d/restart-workers +++ /dev/null @@ -1,5 +0,0 @@ -MAILTO=root - -# Restart all of our Django workers at 7:37AM every day -# This is to handle the fact that we have memory leaks. -37 7 * * * zulip supervisorctl restart zulip-workers:* diff --git a/puppet/zulip_internal/manifests/app_frontend.pp b/puppet/zulip_internal/manifests/app_frontend.pp index a04f355f82..73b5d06d8f 100644 --- a/puppet/zulip_internal/manifests/app_frontend.pp +++ b/puppet/zulip_internal/manifests/app_frontend.pp @@ -19,11 +19,4 @@ class zulip_internal::app_frontend { notify => Service["nginx"], } - file { "/etc/cron.d/restart-workers": - owner => "root", - group => "root", - mode => 644, - source => "puppet:///modules/zulip_internal/cron.d/restart-workers", - } - }