From: Leandro L. <ll...@gm...> - 2008-02-04 18:10:01
|
Oleg Broytmann, el 4 de febrero a las 18:57 me escribiste: > On Mon, Feb 04, 2008 at 02:47:48PM +0530, vishnu wrote: > > My problem is that i get occational "Database is locked error". > > By this error I can guess you are using SQLite as the backend. I don't > know a way to fix or overcome the problem with SQLite. There is a parameter to SQLite to wait for the lock for a while. Just pass timeout=something when creating the SQLite connection, for example: sqlite:///....?timeout=5000 If you want it to wait 5 seconds before raising the database locked exception. It seems that this parameter is still undocumented :) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- CHINO ATRAPA COTORRAS -- Crónica TV |