Mercurial > prosody-modules
comparison mod_csi_battery_saver/README.markdown @ 2745:b62cec32680e
mod_csi_battery_saver: Fix bug when smacks is resumed before hibernating
This needs a mod_smacks version at least as new as of commit f70c02c14161
otherwise message reordering could happen
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Fri, 18 Aug 2017 01:49:16 +0200 |
parents | 69248dcd7cff |
children | d3a2f4bdaf09 |
comparison
equal
deleted
inserted
replaced
2744:f70c02c14161 | 2745:b62cec32680e |
---|---|
5 --- | 5 --- |
6 | 6 |
7 Please use this module instead of [mod_csi_pump] if you want timestamping, | 7 Please use this module instead of [mod_csi_pump] if you want timestamping, |
8 properly handled carbon copies, support for handling encrypted messages and | 8 properly handled carbon copies, support for handling encrypted messages and |
9 correctly handled smacks events. | 9 correctly handled smacks events. |
10 | |
11 If smacks is used on the same server this needs at least version [f70c02c14161] | |
12 of the smacks module! There could be message reordering on resume otherwise. | |
10 | 13 |
11 Stanzas are queued in a buffer until either an "important" stanza is | 14 Stanzas are queued in a buffer until either an "important" stanza is |
12 encountered or the buffer becomes full. Then all queued stanzas are sent | 15 encountered or the buffer becomes full. Then all queued stanzas are sent |
13 at the same time. This way, nothing is lost or reordered while still | 16 at the same time. This way, nothing is lost or reordered while still |
14 allowing for power usage savings by not requiring mobile clients to | 17 allowing for power usage savings by not requiring mobile clients to |
24 | 27 |
25 Use with other CSI plugins such as [mod_throttle_presence], | 28 Use with other CSI plugins such as [mod_throttle_presence], |
26 [mod_filter_chatstates] or [mod_csi_pump] is *not* supported. | 29 [mod_filter_chatstates] or [mod_csi_pump] is *not* supported. |
27 | 30 |
28 The internal stanza buffer of this module is hardcoded to 100 stanzas. | 31 The internal stanza buffer of this module is hardcoded to 100 stanzas. |
32 | |
33 [f70c02c14161]: //hg.prosody.im/prosody-modules/raw-file/f70c02c14161/mod_smacks/mod_smacks.lua |