From 7a8751a2cd9255ff4d26cd96e21b26fc64c83706 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 26 Apr 2022 15:25:38 +0200 Subject: [PATCH] zfs pool: bump non-worker timeoiut default to 10s With 30s we got for sync api calls 10s leaves still enough room for answering and other stuff. Signed-off-by: Thomas Lamprecht --- PVE/Storage/ZFSPoolPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index b1ee420..e264fde 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage/ZFSPoolPlugin.pm @@ -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);