]> git.proxmox.com Git - pve-storage.git/commitdiff
zfs pool: bump non-worker timeoiut default to 10s
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Apr 2022 13:25:38 +0000 (15:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Apr 2022 13:25:40 +0000 (15:25 +0200)
With 30s we got for sync api calls 10s leaves still enough room for
answering and other stuff.

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

index b1ee420e87139d9e21380bc23697730b7ac692c7..e264fde91c028b587a3a05e004352b9bdbe7b68c 100644 (file)
@@ -182,7 +182,7 @@ sub zfs_request {
        $timeout = 60*60 if !$timeout;
        $timeout = 60*5 if $timeout < 60*5;
     } else {
-       $timeout = 5 if !$timeout;
+       $timeout = 10 if !$timeout;
     }
 
     run_command($cmd, errmsg => "zfs error", outfunc => $output, timeout => $timeout);