From 1591ff7f463653e4ba2a9522a2d594663d7fbfee Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 21 Nov 2018 13:47:04 +0200 Subject: [PATCH] MXS-2179 Activate WD workaround when fetching users Fetching the users may potentially take longer than the watchdog timeout. To ensure that MaxScale is not killed by systemd, we must ensure that the notifications are generated also when MaxScale synchronously is fetching the users. --- server/core/service.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/server/core/service.cc b/server/core/service.cc index 8900dc722..4ca6afd80 100644 --- a/server/core/service.cc +++ b/server/core/service.cc @@ -1422,6 +1422,7 @@ void dListListeners(DCB* dcb) bool Service::refresh_users() { + mxs::WatchdogWorkaround workaround; bool ret = true; int self = mxs_rworker_get_current_id(); mxb_assert(self >= 0);