mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-30 19:43:47 +00:00 
			
		
		
		
	management: Delete send_stats command.
This command is part of a statsd infrastructure that we stopped supporting years ago. Its only purpose for some time has been to provide sample code for how the restart script might trigger a notification to a graphing system, which doesn't justify maintaining it. Fixes part of #18898.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							7db3d76ecd
						
					
				
				
					commit
					af08bcdb3f
				
			| @@ -46,11 +46,6 @@ if pwd.getpwuid(os.getuid()).pw_name != "zulip": | ||||
|     logging.error("Must be run as user 'zulip'.") | ||||
|     sys.exit(1) | ||||
|  | ||||
| # Send a statsd event on restarting the server | ||||
| subprocess.check_call( | ||||
|     ["./manage.py", "send_stats", "incr", "events.server_restart", str(int(time.time()))] | ||||
| ) | ||||
|  | ||||
| if args.fill_cache: | ||||
|     logging.info("Filling memcached caches") | ||||
|     subprocess.check_call(["./manage.py", "fill_memcached_caches"]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user