From fd90892fdc15fda4ac8bd4ce931b4b500ff92a1c Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 17 Oct 2015 11:08:12 -0400 Subject: Switching to a more dynamic method of handling database reconnection, restarting transactions --- include/urweb/urweb_cpp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/urweb') diff --git a/include/urweb/urweb_cpp.h b/include/urweb/urweb_cpp.h index b1d2048e..a371d8e8 100644 --- a/include/urweb/urweb_cpp.h +++ b/include/urweb/urweb_cpp.h @@ -40,7 +40,7 @@ uw_loggers* uw_get_loggers(struct uw_context *ctx); 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 *); -- cgit v1.2.3