Reduce the initial shutdown timer on group hosts

This five seconds matches the five seconds on the first watchdog timer
proc.
This commit is contained in:
Robbert van der Helm
2021-05-01 22:08:57 +02:00
parent f3f2bfdc24
commit 448bfca0bc
+3 -3
View File
@@ -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");