Browse Source

quite weird

lyc8503 4 years ago
parent
commit
40699e21fa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      backend_refactor/gunicorn.conf.py

+ 2 - 1
backend_refactor/gunicorn.conf.py

@@ -183,7 +183,8 @@ proc_name = None
 #
 #
 
 
 
 
-def on_starting(server):
+def when_ready(server):
+    server.log.info("Server is ready. Spawning pool threads.")
     init_workers()
     init_workers()