we always want the restore_list to use a timeout here. Set it to 25 seconds so there is a little headroom between this and pveproxys 30s one.
Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- src/PVE/PBSClient.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/PBSClient.pm b/src/PVE/PBSClient.pm index 37385d7..7eaace3 100644 --- a/src/PVE/PBSClient.pm +++ b/src/PVE/PBSClient.pm @@ -378,7 +378,7 @@ sub file_restore_list { return run_client_cmd( $self, "list", - [ $snapshot, $filepath, "--base64", $base64 ? 1 : 0 ], + [ $snapshot, $filepath, "--base64", $base64 ? 1 : 0, '--timeout', 25], 0, "proxmox-file-restore", $namespace, -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel