mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Revert "[puppet] Add cron job to restart our workers daily."
This reverts commit 0b0180b0751f6c618d877b9c9ffc2b8287254e4d. (imported from commit a81c552100345d369ffcaf69f28a86dea0893128)
This commit is contained in:
		@@ -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:*
 | 
					 | 
				
			||||||
@@ -19,11 +19,4 @@ class zulip_internal::app_frontend {
 | 
				
			|||||||
    notify => Service["nginx"],
 | 
					    notify => Service["nginx"],
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  file { "/etc/cron.d/restart-workers":
 | 
					 | 
				
			||||||
    owner  => "root",
 | 
					 | 
				
			||||||
    group  => "root",
 | 
					 | 
				
			||||||
    mode => 644,
 | 
					 | 
				
			||||||
    source => "puppet:///modules/zulip_internal/cron.d/restart-workers",
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user