From 4c376e7f3581097f960a0d28f8248c4e135d29ff Mon Sep 17 00:00:00 2001 From: RTXUX Date: Tue, 22 Oct 2024 17:32:41 +0800 Subject: [PATCH] fix gevent monkey patch --- conf/uwsgi-apps/hackergame.ini | 2 +- conf/uwsgi-apps/hgtest.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/uwsgi-apps/hackergame.ini b/conf/uwsgi-apps/hackergame.ini index c606764..9482309 100644 --- a/conf/uwsgi-apps/hackergame.ini +++ b/conf/uwsgi-apps/hackergame.ini @@ -8,7 +8,7 @@ env=PSYCOPG_WAIT_FUNC=wait_selector master=true #processes=16 gevent=1024 -gevent-monkey-patch=true +gevent-early-monkey-patch=true vacuum=true home=.venv stats=/run/uwsgi/app/hackergame/stats.socket diff --git a/conf/uwsgi-apps/hgtest.ini b/conf/uwsgi-apps/hgtest.ini index afa58d2..76eaeae 100644 --- a/conf/uwsgi-apps/hgtest.ini +++ b/conf/uwsgi-apps/hgtest.ini @@ -8,7 +8,7 @@ env=PSYCOPG_WAIT_FUNC=wait_selector master=true #processes=16 gevent=1024 -gevent-monkey-patch=true +gevent-early-monkey-patch=true vacuum=true home=.venv stats=/run/uwsgi/app/hgtest/stats.socket