Reuse connection between requests
This commit is contained in:
parent
0cefa8d125
commit
325fec5271
1 changed files with 2 additions and 0 deletions
|
@ -71,10 +71,12 @@ DATABASES = {
|
|||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': 'file:default-db?mode=memory&cache=shared',
|
||||
"CONN_MAX_AGE": 600
|
||||
},
|
||||
'yamdl': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': 'file:yamdl-db?mode=memory&cache=shared',
|
||||
"CONN_MAX_AGE": 600
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue