Use longer timeouts for sqlite lock contention.

(imported from commit 34fcc295b032d93ec58435ad18baa790ee8d0cfe)
This commit is contained in:
Tim Abbott 2012-09-14 13:22:56 -04:00
parent 634dd59833
commit 2793ec15fd
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ DATABASES = {
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
'OPTIONS': {
'timeout': 20,
},
},
'mysql': {
'ENGINE': 'django.db.backends.mysql',