forked from Archive/PX4-Autopilot
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:
parent
931ef189b5
commit
dcb5f80180
|
@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue