aboutsummaryrefslogtreecommitdiff
path: root/src/mod_muc_admin.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2020-10-13 14:57:33 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2020-10-13 14:57:33 +0200
commitb95d67aefbfc7df9f309b9c39bfbaea4b614bb6b (patch)
treeb5e40918342b9546d1faa3f9e271aa507b8f9303 /src/mod_muc_admin.erl
parentMake mod_muc_admin command work correctly with hibernated rooms (diff)
Make websocket send put back pressure on c2s process
Previously c2s was free to generate data to send in unlimited manner, and just generate queue of messages that are waiting to be send. This could lead to hitting timouts in stream management ack handling (if c2s generate lot of packages, after which <r> request was sent, client could even not receive it before timeout was triggered on server waiting for corresponding <a>). This changes makes c2s process wait for data being sent to tcp socket associated with websocket connection, which should help with this problem.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions