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.
This commit is contained in:
Beat Küng 2017-07-24 13:11:30 +02:00 committed by Lorenz Meier
parent 931ef189b5
commit dcb5f80180
1 changed files with 1 additions and 1 deletions

View File

@ -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
/**