From 1a0f4312a714b62c05d911278d689386c98ce712 Mon Sep 17 00:00:00 2001 From: "Paul J. Dorn" Date: Wed, 22 May 2024 07:12:23 +0200 Subject: [PATCH] try pre-fork grpcio import --- .github/workflows/repro.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/repro.yml b/.github/workflows/repro.yml index 06c8625d8..21989cebc 100644 --- a/.github/workflows/repro.yml +++ b/.github/workflows/repro.yml @@ -56,3 +56,17 @@ jobs: curl http://[::1]:8001/get/2 curl http://[::1]:8001/get/3 killall gunicorn + - run: | + gunicorn -w 2 --preload -b [::1]:8001 repro-3213:app --enable-stdio-inheritance & + sleep 3 + curl http://[::1]:8001/get/1 + curl http://[::1]:8001/get/2 + curl http://[::1]:8001/get/3 + killall gunicorn + - run: | + gunicorn --worker-class=gthread -w 2 --preload -b [::1]:8001 repro-3213:app --enable-stdio-inheritance & + sleep 3 + curl http://[::1]:8001/get/1 + curl http://[::1]:8001/get/2 + curl http://[::1]:8001/get/3 + killall gunicorn