From 2793ec15fdb7c71c1be281ef1fd56b385a449aa5 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 14 Sep 2012 13:22:56 -0400 Subject: [PATCH] Use longer timeouts for sqlite lock contention. (imported from commit 34fcc295b032d93ec58435ad18baa790ee8d0cfe) --- humbug/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/humbug/settings.py b/humbug/settings.py index cc9830e877..4b3280620e 100644 --- a/humbug/settings.py +++ b/humbug/settings.py @@ -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',