Mercurial > prosody-modules
view mod_storage_memory/README.markdown @ 5173:460f78654864
mod_muc_rtbl: also filter messages
This was a bit tricky because we don't want to run the JIDs
through SHA256 on each message. Took a while to come up with this
simple plan of just caching the SHA256 of the JIDs on the
occupants.
This will leave some dirt in the occupants after unloading the
module, but that should be ok; once they cycle the room, the
hashes will be gone.
This is direly needed, otherwise, there is a tight race between
the moderation activities and the actors joining the room.
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Tue, 21 Feb 2023 21:37:27 +0100 |
parents | f5d4e23fa8f7 |
children |
line wrap: on
line source
--- labels: - 'Stage-Merged' - 'Type-Storage' - ArchiveStorage summary: 'Simple memory-only storage module' ... Introduction ============ This module acts as a normal storage module for Prosody, but saves all data in memory only. All data is lost when the server stops. This makes it useful for testing, or certain specialized applications. Details ======= Because the accounts store will always begin empty, it is mostly useful combined with an authentication plugin which doesn't use Prosody's storage API, or with [mod\_auth\_any](mod_auth_any.html), or you can create user accounts manually each time the server starts. Compatibility ============= ----- ------- 0.9 Works ----- -------