mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
incusd/instance/qmp: Bump query-migrate timeout
Treat query-migrate as a heavyCommandTimeout. That's because just like stop, it can get stuck on QEMU handling I/O internally (final stage of a migration). Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
parent
63df2ac7f1
commit
66e092f0ff
@ -301,7 +301,7 @@ var commandTimeouts = map[string]time.Duration{
|
||||
"object-add": heavyCommandTimeout,
|
||||
"stop": heavyCommandTimeout,
|
||||
"system_reset": heavyCommandTimeout,
|
||||
"query-migrate": 5 * time.Second,
|
||||
"query-migrate": heavyCommandTimeout,
|
||||
"screendump": 10 * time.Second,
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user