defaultconf: leave ratelimit disabled by default.

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle
2024-01-05 00:06:26 +07:00
parent 224bf54133
commit d20cab9548

View File

@@ -44,12 +44,14 @@ module.exports = {
// Tip : The bigger = The more accurate EOSE, The less = EOSE sent way earlier. // Tip : The bigger = The more accurate EOSE, The less = EOSE sent way earlier.
max_eose_score: 0, 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>. // 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 websocket connection ratelimit in miliseconds.
incomming_ratelimit: 3300, // Leaving it as 0 will disable this function.
incomming_ratelimit: 0,
// A whitelist of users public keys who could use this bouncer. // A whitelist of users public keys who could use this bouncer.
// Leaving this empty will allow everyone to use this bouncer. // Leaving this empty will allow everyone to use this bouncer.