Join GitHub today
Added extra locking to prevent timeouts when writing to the database. #117
Original report from Matt Robinson at 11:54:31 on 2010-06-23
In certain situations on some (slower?) hardware, performing a write action (such as storing an image) takes longer than the SQLite 30 second timeout, causing the application to crash.
To resolve this problem, it would be better to wrap all the parts of the data class which perform writes to the database in a lock to prevent this from occurring. This would also simplify the current locking, as there are three different locks for different types of update at the moment.
Imported from Bug 278 in the NerdoftheHerd.com Bugzilla.