Skip to content

Commit

Permalink
Revert " Test theory, that the coupling of redis to sql is what cause…
Browse files Browse the repository at this point in the history
…s unittest to become deadlocked when trying to drop all tables."

This reverts commit fe0fca4.
  • Loading branch information
pbugni committed Mar 5, 2024
1 parent 4414dfa commit dc1751d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions portal/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit dc1751d

Please sign in to comment.