Am 10/11/2022 um 11:36 schrieb Dominik Csapak: > file-restore has a 'timeout' parameter and if that is exceeded, returns > an error with the http code 503 Service Unavailable > > When the web ui encounters such an error, it retries the listing a few > times before giving up. > > To make use of these, add the 'timeout' parameter to the new > 'extraParams' of 'file_restore_list'. > > 25 seconds are chosen because it's under pveproxy 30s limit, with a bit > of overhead to spare for the rest of the api call, like json decoding, > forking, access control checks, etc. > > Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> > --- > new in v4 > depends on pve-common 1/2
in a soft way though (no "compile" breakage if not set) > > PVE/API2/Storage/FileRestore.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > applied, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel