Would it make sense to test the DB connection before establishing DB as
your session storage and if it is down use disk store instead?

On Mon, Apr 23, 2012 at 12:04 PM, Andrey Kuzmin <[email protected]> wrote:

> I've got a problem: if database isn't running then the error is raised
> during setting up database wrapper.
> This blocks the start of the whole app.
>
> Is there any way to raise this error when querying database during
> processing of http requests, with attempts to reconnect on every db query
> if database connection hasn't been established?
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/webpy/-/Cg0k9iWiI2sJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to