fix: Increase SIGKILL termination timer

This commit is contained in:
Michael Carlberg 2016-10-25 08:45:21 +02:00
parent d2187f44e0
commit 7a1193c698

View File

@ -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);
}