From eb61f6c7d47b99b1025e80c8ccf6abbdb4a0e347 Mon Sep 17 00:00:00 2001 From: Paul Bugni Date: Mon, 4 Mar 2024 14:18:48 -0800 Subject: [PATCH] Revert " Test theory, that the coupling of redis to sql is what causes unittest to become deadlocked when trying to drop all tables." This reverts commit fe0fca4f6d20ecf0a61ce37bbd2b4d6bb4f0509d. --- portal/database.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/portal/database.py b/portal/database.py index ac45a3e518..6e80e45c96 100644 --- a/portal/database.py +++ b/portal/database.py @@ -4,7 +4,4 @@ from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy_caching import CachingQuery -# Test theory, that the coupling of redis to sql is what causes -# unittests to become deadlocked when trying to drop all tables -#db = SQLAlchemy(query_class=CachingQuery) -db = SQLAlchemy() +db = SQLAlchemy(query_class=CachingQuery)