From 7c874ed4565623a89f417c026103e7925e775690 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 21 Feb 2022 13:02:34 +0100 Subject: [PATCH] core: use NM_SHUTDOWN_TIMEOUT_5000_MSEC define in _ppp_manager_stop() The define makes it clearer that there is an important relationship between the timeout for the async operation, and the wrapup time when NetworkManager is quitting. Well, not for the time being. But in the future, when we rework the quitting of NetworkManager. --- src/core/ppp/nm-ppp-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ppp/nm-ppp-manager.c b/src/core/ppp/nm-ppp-manager.c index dd6b1bc7f0..213e3761cc 100644 --- a/src/core/ppp/nm-ppp-manager.c +++ b/src/core/ppp/nm-ppp-manager.c @@ -1246,7 +1246,7 @@ _ppp_manager_stop(NMPPPManager *self, SIGTERM, LOGD_PPP, "pppd", - 5000, + NM_SHUTDOWN_TIMEOUT_5000_MSEC, _stop_child_cb, handle);