aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-05-12 01:25:44 +0200
committerKim Alvefur <zash@zash.se>2021-05-12 01:25:44 +0200
commitf4be79f6d6bc148f7dee8acba304217bd4c964e4 (patch)
tree5a3b6920394aec33b56371537be64e7ff0e719cf /util-src
parent74ea750bc4cb3390c84b193036339aa3d2e69272 (diff)
downloadprosody-f4be79f6d6bc148f7dee8acba304217bd4c964e4.tar.gz
prosody-f4be79f6d6bc148f7dee8acba304217bd4c964e4.zip
mod_storage_internal: Lazy-load archive items while iterating
Very large list files previously ran into limits of the Lua parser, or just caused Prosody to freeze while parsing. Using the new index we can parse individual items one at a time. This probably won't reduce overall CPU usage, probably the opposite, but it will reduce the number of items in memory at once and allow collection of items after we iterated past them.
Diffstat (limited to 'util-src')
0 files changed, 0 insertions, 0 deletions