mod_mam includes a subset of mod_storage_memory (from prosody-modules) that is used if the currently selected storage driver does not support archives.
This was mostly useful before mod_storage_internal gained support for archives.
So the code could be deleted from mod_mam. mod_storage_memory itself could possibly be included in core, if deemed worthy (but that's a separate issue).
Zash
on
Changes
titleRemove in-memory arhive driver from mod_mam Remove in-memory archive driver from mod_mam
Zash
on
Changes
tags Component-Persistence
MattJ
on
I think we should probably merge mod_storage_memory
mod_mam includes a subset of mod_storage_memory (from prosody-modules) that is used if the currently selected storage driver does not support archives. This was mostly useful before mod_storage_internal gained support for archives. So the code could be deleted from mod_mam. mod_storage_memory itself could possibly be included in core, if deemed worthy (but that's a separate issue).
Remove in-memory arhive driver from mod_mamRemove in-memory archive driver from mod_mamI think we should probably merge mod_storage_memory
mod_storage_memory is merged in trunk
I'll rip the fallback out in trunk.
ChangesFixed in https://hg.prosody.im/trunk/rev/ed5a5ddcef17
Changes