2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

still not expunged MySQL connection

This commit is contained in:
Philip Sargent 2020-05-13 21:55:44 +01:00
parent ac7cb45f61
commit 876cd8909f

View File

@ -262,6 +262,7 @@ class JobQueue():
self.memdumpsql()
self.saveprofiles()
else:
django.db.close_old_connections() # needed if MySQL running
# run all the imports through :memory: first
settings.DATABASES['default']['ENGINE'] = 'django.db.backends.sqlite3'
settings.DATABASES['default']['NAME'] = ":memory:"