mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 13:55:24 +00:00
Switch from event stream to WebSocket for events
This commit is contained in:
parent
5fadffef4d
commit
77216aa0f8
9 changed files with 386 additions and 123 deletions
|
@ -26,8 +26,16 @@ max_page_len = 1024
|
|||
# Maximum request body length in bytes.
|
||||
max_request_len = 4096
|
||||
|
||||
# Maximum length of a single event queue.
|
||||
event_queue_len = 1024
|
||||
|
||||
# The maximum timestamp tolerance in seconds for request validation.
|
||||
timestamp_tolerance_secs = 90
|
||||
|
||||
# The max waiting time for the first authentication message for websocket.
|
||||
ws_auth_timeout_sec = 15
|
||||
|
||||
# The max waiting time for outgoing message to be received for websocket.
|
||||
ws_send_timeout_sec = 15
|
||||
|
||||
# Maximum number of pending events a single user can have.
|
||||
# If events overflow the pending buffer, older events will be dropped and
|
||||
# client will be notified.
|
||||
ws_event_queue_len = 1024
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue