On 2 Jul 2015, at 3:59pm, Kathleen Alexander <katcalex at mit.edu> wrote:

> I don't explicitly set sqlite3_busy_timeout(sqlite3*, int ms) so I will try
> adding that after the database connection is opened to see if it limits
> those errors.

This will have an extreme effect.  The default timeout for SQLite is not to use 
a timeout at all: any clash in access will result in immediate failure.  Set 
your timeout to 30 seconds and see what happens.

Worth noting that the timeout needs to be set by each application for each 
connection.  If you set it for the first application which opens the database 
it won't automatically be applied by other connections.

Simon.

Reply via email to