From 9cd89212e59a5bc1a1ae3ee6419f412ab325857b Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Thu, 23 Jan 2025 08:53:32 +1300 Subject: [PATCH] scale back asyncio ambitions I've removed the psycogreen monkey-patching for async DB access - too many connection problems The gevent monkey-patch remains for now --- pyfedi.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyfedi.py b/pyfedi.py index d5140d98..0d8ce015 100644 --- a/pyfedi.py +++ b/pyfedi.py @@ -6,9 +6,6 @@ if os.environ.get('FLASK_ENV', '') != 'development': from gevent import monkey monkey.patch_all() - from psycogreen.gevent import patch_psycopg - patch_psycopg() - from datetime import datetime from flask_babel import get_locale