mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 13:55:24 +00:00
refactor(config): split into subsections and verify on parsing
This commit is contained in:
parent
93d1589730
commit
2775068e49
6 changed files with 123 additions and 77 deletions
|
@ -42,13 +42,15 @@ max_request_len = 4096
|
|||
# The maximum timestamp tolerance in seconds for request validation.
|
||||
timestamp_tolerance_secs = 90
|
||||
|
||||
[server.ws]
|
||||
|
||||
# The max waiting time for the first authentication message for websocket.
|
||||
ws_auth_timeout_sec = 15
|
||||
auth_timeout_sec = 15
|
||||
|
||||
# The max waiting time for outgoing message to be received for websocket.
|
||||
ws_send_timeout_sec = 15
|
||||
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
|
||||
event_queue_len = 1024
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue