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:
parent
ac7cb45f61
commit
876cd8909f
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user