diff options
author | Kim Alvefur <zash@zash.se> | 2021-05-12 01:25:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-05-12 01:25:44 +0200 |
commit | f4be79f6d6bc148f7dee8acba304217bd4c964e4 (patch) | |
tree | 5a3b6920394aec33b56371537be64e7ff0e719cf /spec/util_jsonschema_spec.lua | |
parent | 74ea750bc4cb3390c84b193036339aa3d2e69272 (diff) | |
download | prosody-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 'spec/util_jsonschema_spec.lua')
0 files changed, 0 insertions, 0 deletions