From eda72c0441d91ca700592a52832f964cd75375e4 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Mon, 9 Sep 2024 12:23:52 -0600 Subject: [PATCH] Use new connection pool by default (#7706) `EDGEDB_USE_NEW_CONNPOOL=0` will opt out and use the previous version of the pool. --- edb/server/connpool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edb/server/connpool/__init__.py b/edb/server/connpool/__init__.py index dda78b56bd7..6ce2fa62bd7 100644 --- a/edb/server/connpool/__init__.py +++ b/edb/server/connpool/__init__.py @@ -22,7 +22,7 @@ # During the transition period we allow for the pool to be swapped out. The # current default is to use the old pool, however this will be switched to use # the new pool once we've fully implemented all required features. -if os.environ.get("EDGEDB_USE_NEW_CONNPOOL", "") == "1": +if os.environ.get("EDGEDB_USE_NEW_CONNPOOL", "") == "0": Pool = Pool2Impl Pool2 = Pool1Impl else: