annotate mod_smacks_offline/mod_smacks_offline.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 a3693e0d26b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3936
a3693e0d26b8 mod_smacks_offline: this module is obsoleted by latest mod_smacks update
tmolitor <thilo@eightysoft.de>
parents: 1731
diff changeset
1 -- this module is deprecated, log an error and load the superseding module instead
a3693e0d26b8 mod_smacks_offline: this module is obsoleted by latest mod_smacks update
tmolitor <thilo@eightysoft.de>
parents: 1731
diff changeset
2 module:depends"smacks"
1702
725ebd494000 mod_smacks_offline: Monkeypatch mod_smacks to send unacked messages to offline storage IFF there was only one session
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
3936
a3693e0d26b8 mod_smacks_offline: this module is obsoleted by latest mod_smacks update
tmolitor <thilo@eightysoft.de>
parents: 1731
diff changeset
4 module:log("error", "mod_smacks_offline is deprecated! Just use mod_smacks!");