From 448bfca0bcd0c7cb9df2e64cb819c307cd1f2345 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 1 May 2021 22:08:57 +0200 Subject: [PATCH] Reduce the initial shutdown timer on group hosts This five seconds matches the five seconds on the first watchdog timer proc. --- src/wine-host/bridges/group.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wine-host/bridges/group.cpp b/src/wine-host/bridges/group.cpp index 7c29c473..3605b3aa 100644 --- a/src/wine-host/bridges/group.cpp +++ b/src/wine-host/bridges/group.cpp @@ -157,9 +157,9 @@ void GroupBridge::handle_incoming_connections() { accept_requests(); async_handle_events(); - // If we don't get a request to host a plugin within ten seconds, we'll shut - // the process down again. - maybe_schedule_shutdown(10s); + // If we don't get a request to host a plugin within five seconds, we'll + // shut the process down again. + maybe_schedule_shutdown(5s); logger.log( "Group host is up and running, now accepting incoming connections");