mirror of
https://github.com/Yonle/bostr.git
synced 2025-09-27 05:16:34 +02:00
defaultconf: leave ratelimit disabled by default.
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
@@ -44,12 +44,14 @@ module.exports = {
|
||||
// Tip : The bigger = The more accurate EOSE, The less = EOSE sent way earlier.
|
||||
max_eose_score: 0,
|
||||
|
||||
// Client event broadcast ratelimit in milisecond.
|
||||
// Client event broadcast ratelimit in miliseconds.
|
||||
// Client only able to broadcast new event to this bouncer after <broadcast_ratelimit>.
|
||||
broadcast_ratelimit: 700,
|
||||
// Leaving it as 0 will disable this function.
|
||||
broadcast_ratelimit: 0,
|
||||
|
||||
// Incomming websocket connection ratelimit in milisecond.
|
||||
incomming_ratelimit: 3300,
|
||||
// Incomming websocket connection ratelimit in miliseconds.
|
||||
// Leaving it as 0 will disable this function.
|
||||
incomming_ratelimit: 0,
|
||||
|
||||
// A whitelist of users public keys who could use this bouncer.
|
||||
// Leaving this empty will allow everyone to use this bouncer.
|
||||
|
Reference in New Issue
Block a user