]> git.proxmox.com Git - qemu-server.git/commitdiff
qmp client: increase default fallback timeout to 5s
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Sep 2022 10:56:29 +0000 (12:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Sep 2022 11:01:45 +0000 (13:01 +0200)
allowing slower or overloaded systems a higher chance to finish
commands while not being to long to be problematic for sync api calls
with their 30s total budget

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QMPClient.pm

index b4cdcf620f141ba35fc90dc5d1d394fa666ac3f8..9805c20600649579f6276d23c4387d7d044dda0c 100644 (file)
@@ -135,7 +135,9 @@ sub cmd {
         ) {
            $timeout = 10*60; # 10 mins ?
        } else {
-           $timeout = 3; # default
+           #  NOTE: if you came here as user and want to change this, try using IO-Threads first
+           # which move out quite some processing of the main thread, leaving more time for QMP
+           $timeout = 5; # default
        }
     }