]> git.proxmox.com Git - pve-storage.git/commit
status: remove sleep(1) in file upload
authorLorenz Stechauner <l.stechauner@proxmox.com>
Tue, 31 Aug 2021 10:16:30 +0000 (12:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 4 Oct 2021 08:22:06 +0000 (10:22 +0200)
commite4d56f096ed28761d6b9a9e348be0fc682928040
tree70f22214084af5d859b062c699cef44653cfff9b
parenta64aedd3eb37acb36e988b82e2149379f8c80363
status: remove sleep(1) in file upload

this racey sleep(1) is only there for legacy reasons: because
we don't use apache anymore and only emulate its behabiour
regarding removing temp files, this is under our own control
now and so we can improve this whole situation.

this change requires a pve-http-server version, in which the
tmpfile gets not automatically removed anymore.

Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
PVE/API2/Storage/Status.pm