>
> i do not know which function actually causing this problem. the 
> application we testing are mostly select query so most likely it's from the 
> web2py session update query.


I think this is a workflow issue. Perhaps your db error occurs after 
executing the action logic. In that case, this pseudocode might help:

At a web2py controller:

try some DAL db i/o command
force a commit (with db.commit())
if there's a driver exception wait for a few seconds and retry
if the second try fails, return a message
else return the query output

BTW: How did you implement my previous pseudocode? What was the error 
output?

-- 

--- 
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/groups/opt_out.


Reply via email to