mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
fix: Increase SIGKILL termination timer
This commit is contained in:
parent
d2187f44e0
commit
7a1193c698
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ class controller {
|
||||||
* threads and spawned processes
|
* threads and spawned processes
|
||||||
*/
|
*/
|
||||||
~controller() noexcept {
|
~controller() noexcept {
|
||||||
if (!m_mutex.try_lock_for(3s)) {
|
if (!m_mutex.try_lock_for(5s)) {
|
||||||
m_log.warn("Failed to acquire lock for 3s... Forcing shutdown using SIGKILL");
|
m_log.warn("Failed to acquire lock for 5s... Forcing shutdown using SIGKILL");
|
||||||
raise(SIGKILL);
|
raise(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue