]> git.proxmox.com Git - proxmox-backup.git/commit
restore-daemon: make file listing 'streaming'
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 20 Jun 2022 07:51:13 +0000 (09:51 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 21 Jun 2022 08:46:30 +0000 (10:46 +0200)
commit057e188b1e9a7b5b1c36f2c2c99ba41c1607aa81
treefe1206e415324c3b5348ee6dd436d1196b072d88
parent707e2b39f396da1a3acea7f6ddd0e7b7c3d9fc18
restore-daemon: make file listing 'streaming'

this prevents an oom kill when listing large directories.
Without this, i'd get an oom kill in the restore vm when
i tried to list a directory with ~60000 entries, but with this,
i'd get the response for even 250000 entries

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-restore-daemon/src/proxmox_restore_daemon/api.rs