you *shall* commit or rollback as frequently as possibile in your
parallel task.  Otherwise you keep an open transaction that is likely
to lock the whole database.

2014-04-24 23:03 GMT+02:00 Manuele Pesenti <[email protected]>:
> Il 24/04/14 21:03, Marin Pranjić ha scritto:
>> It might be that database is blocking because you never end a transaction.
>> Do you have db.commit() in your task?
>>
>> Marin
> Hi Marin,
> thanks for you replay. The only commit explicitly called is inside a
> scheduler function where afaik is necessary because in scheduler run I
> don't have submit transitions... right?
>
> Cheers
>
>     M.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to