sqlite: database is locked
February 16, 2009
We’re using sqlite over at Snipshot, which is built in Django. If you start to see "database is locked" errors, you can override sqlite3’s 5 second timeout with this option in settings.py:
DATABASE_OPTIONS = {'timeout': 15}