From 7a1193c698c5a69deaa4f913b5a9041eb6fbb61b Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Tue, 25 Oct 2016 08:45:21 +0200 Subject: [PATCH] fix: Increase SIGKILL termination timer --- include/components/controller.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/components/controller.hpp b/include/components/controller.hpp index 6d8e1c2c..fa0467bd 100644 --- a/include/components/controller.hpp +++ b/include/components/controller.hpp @@ -67,8 +67,8 @@ class controller { * threads and spawned processes */ ~controller() noexcept { - if (!m_mutex.try_lock_for(3s)) { - m_log.warn("Failed to acquire lock for 3s... Forcing shutdown using SIGKILL"); + if (!m_mutex.try_lock_for(5s)) { + m_log.warn("Failed to acquire lock for 5s... Forcing shutdown using SIGKILL"); raise(SIGKILL); }