lyc8503 4 lat temu
rodzic
commit
40699e21fa
1 zmienionych plików z 2 dodań i 1 usunięć
  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()