diff --git a/portal/database.py b/portal/database.py index ac45a3e51..6e80e45c9 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)