Mercurial > prosody-modules
annotate mod_bookmarks/mod_bookmarks.lua @ 5536:96dec7681af8
mod_firewall: Update user marks to store instantly via map store
The original approach was to keep marks in memory only, and persist them at
shutdown. That saves I/O, at the cost of potentially losing marks on an
unclean shutdown.
This change persists marks instantly, which may have some performance overhead
but should be more "correct".
It also splits the marking/unmarking into an event which may be watched or
even fired by other modules.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 08 Jun 2023 16:20:42 +0100 |
parents | cbe71ecb4677 |
children |
rev | line source |
---|---|
4886
cbe71ecb4677
mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 --% conflicts: mod_bookmarks |
cbe71ecb4677
mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 module:log("info", "mod_bookmarks has been deprecated, now loading mod_bookmarks2") |
cbe71ecb4677
mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 module:depends("bookmarks2") |