From 89d0a7fb129f0e43fce924e71a84750609491a8c Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Fri, 27 Feb 2026 11:57:41 +1100 Subject: [PATCH] Switch to gevent workers to prevent SIGSEGV --- Procfile | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 9af4d6b..6effc3d 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn app:app --workers=4 \ No newline at end of file +web: gunicorn app:app --worker-class gevent --workers=4 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 929797f..ec23831 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ Flask>=3.0.0 gunicorn>=21.2.0 +gevent>=23.9.1 Jinja2>=3.1.0 jinja-partials==0.1.1 psycopg2-binary>=2.9.9