[pve-devel] [PATCH] increase timeout for ZFSPugin
Wolfgang Link
w.link at proxmox.com
Mon Jan 25 10:44:35 CET 2016
This is useful on large zfs pools because they take longer to response.
---
PVE/Storage/ZFSPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm
index 5074ba4..d6339ce 100644
--- a/PVE/Storage/ZFSPlugin.pm
+++ b/PVE/Storage/ZFSPlugin.pm
@@ -49,7 +49,7 @@ my $zfs_get_base = sub {
sub zfs_request {
my ($class, $scfg, $timeout, $method, @params) = @_;
- $timeout = 5 if !$timeout;
+ $timeout = 10 if !$timeout;
my $msg = '';
--
2.1.4
More information about the pve-devel
mailing list