mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
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:
@@ -157,9 +157,9 @@ void GroupBridge::handle_incoming_connections() {
|
|||||||
accept_requests();
|
accept_requests();
|
||||||
async_handle_events();
|
async_handle_events();
|
||||||
|
|
||||||
// If we don't get a request to host a plugin within ten seconds, we'll shut
|
// If we don't get a request to host a plugin within five seconds, we'll
|
||||||
// the process down again.
|
// shut the process down again.
|
||||||
maybe_schedule_shutdown(10s);
|
maybe_schedule_shutdown(5s);
|
||||||
|
|
||||||
logger.log(
|
logger.log(
|
||||||
"Group host is up and running, now accepting incoming connections");
|
"Group host is up and running, now accepting incoming connections");
|
||||||
|
|||||||
Reference in New Issue
Block a user