Mercurial > urweb
diff include/urweb/urweb_cpp.h @ 2177:00cf8214c2e3
Switching to a more dynamic method of handling database reconnection, restarting transactions
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 17 Oct 2015 11:08:12 -0400 |
parents | d2a98983f502 |
children | 14c45a0b6362 1e3ba868f8bf |
line wrap: on
line diff
--- a/include/urweb/urweb_cpp.h Sat Oct 17 10:49:25 2015 -0400 +++ b/include/urweb/urweb_cpp.h Sat Oct 17 11:08:12 2015 -0400 @@ -40,7 +40,7 @@ uw_loggers* uw_get_loggers(struct uw_context *ctx); failure_kind uw_begin(struct uw_context *, char *path); void uw_ensure_transaction(struct uw_context *); -int uw_try_reconnecting_if_at_most_one(struct uw_context *); +void uw_try_reconnecting_and_restarting(struct uw_context *); failure_kind uw_begin_onError(struct uw_context *, char *msg); void uw_login(struct uw_context *); int uw_commit(struct uw_context *);