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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to