mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-04-03 09:21:48 +01:00
still not expunged MySQL connection
This commit is contained in:
parent
ac7cb45f61
commit
876cd8909f
@ -262,6 +262,7 @@ class JobQueue():
|
|||||||
self.memdumpsql()
|
self.memdumpsql()
|
||||||
self.saveprofiles()
|
self.saveprofiles()
|
||||||
else:
|
else:
|
||||||
|
django.db.close_old_connections() # needed if MySQL running
|
||||||
# run all the imports through :memory: first
|
# run all the imports through :memory: first
|
||||||
settings.DATABASES['default']['ENGINE'] = 'django.db.backends.sqlite3'
|
settings.DATABASES['default']['ENGINE'] = 'django.db.backends.sqlite3'
|
||||||
settings.DATABASES['default']['NAME'] = ":memory:"
|
settings.DATABASES['default']['NAME'] = ":memory:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user