Commit graph

56 commits

Author SHA1 Message Date
Kim Alvefur
6c89a86e0d mod_csi_simple: Remove old "pump" queue/buffer method, handled in net.server now 2019-03-24 20:22:01 +01:00
Kim Alvefur
3a1498ebd3 mod_csi_simple: Also flush buffer in "pump" mode 2019-03-24 19:02:40 +01:00
Kim Alvefur
141c5d3fbe mod_csi_simple: Trigger buffer flush on seeing incoming data
I.e. the client sent us something, which means its network / radio is
active.
2019-03-24 18:58:53 +01:00
Kim Alvefur
643c317b16 mod_csi_simple: Count buffered items and flush when it reaches configured limit
In this mode, stanzas have been serialized to strings in the internal
net.server buffer, so it is difficult to count them after the fact.
2019-03-24 18:33:38 +01:00
Kim Alvefur
e5885c928a mod_csi_simple: Break out stanza timestamping into a function for future reuse 2019-03-24 18:32:50 +01:00
Kim Alvefur
8e68b0dd1a mod_csi_simple: Use write locks in net.server if available 2018-11-24 02:25:44 +01:00