From dcb5f80180aa89533db89c96a02d6395d1641d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 24 Jul 2017 13:11:30 +0200 Subject: [PATCH] shutdown: increase the max timeout to 5s To make sure slow param writes will finish before we hit the timeout. I've seen param write durations of around 2s. --- src/platforms/common/shutdown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/common/shutdown.cpp b/src/platforms/common/shutdown.cpp index eebbc4ea9b..0b87252fe0 100644 --- a/src/platforms/common/shutdown.cpp +++ b/src/platforms/common/shutdown.cpp @@ -118,7 +118,7 @@ static const int max_shutdown_hooks = 1; static shutdown_hook_t shutdown_hooks[max_shutdown_hooks] = {}; -static const int shutdown_timeout_ms = 300; // force shutdown after this time if modules do not respond in time +static const int shutdown_timeout_ms = 5000; ///< force shutdown after this time if modules do not respond in time /**