mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	provision: Don't run create_realm_internal_bots management command.
We essentially stop running create_realm_internal_bots during every provisioing and move its operations to run from populate db. In fact to speed things up a bit we actually make populate db call the funcs which create_realm_internal_bots calls behind the scenes. Fixes: #9467.
This commit is contained in:
		@@ -384,8 +384,6 @@ def main(options):
 | 
			
		||||
        else:
 | 
			
		||||
            print("No need to run `manage.py compilemessages`.")
 | 
			
		||||
 | 
			
		||||
        run(["./manage.py", "create_realm_internal_bots"])  # Creates realm internal bots if required.
 | 
			
		||||
 | 
			
		||||
    run(["scripts/lib/clean-unused-caches"])
 | 
			
		||||
 | 
			
		||||
    version_file = os.path.join(UUID_VAR_PATH, 'provision_version')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user