lyc8503 4 лет назад
Родитель
Сommit
40699e21fa
1 измененных файлов с 2 добавлено и 1 удалено
  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()