summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-02-21 13:02:34 +0100
committerThomas Haller <thaller@redhat.com>2022-02-23 20:00:56 +0100
commitb29c58cd93f4729c6c565c3fedc69f53bba062d3 (patch)
tree55df480cae953c8de85b2f1b1e1431f0f8633380
parentf7c9ef9db76659f804b8a7582f5c9ef957ad0992 (diff)
core: use NM_SHUTDOWN_TIMEOUT_5000_MSEC define in _ppp_manager_stop()th/shutdown-timeout-increase
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.
-rw-r--r--src/core/ppp/nm-ppp-manager.c2
1 files changed, 1 insertions, 1 deletions
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);