forked from clan/clan-infra
Merge pull request 'matrix: Increase login threshold for bots' (#202) from Qubasa/clan-infra:Qubasa-main into main
This commit is contained in:
commit
7f17bb53ed
@ -8,4 +8,23 @@
|
|||||||
};
|
};
|
||||||
clan.matrix-synapse.users.monitoring = { };
|
clan.matrix-synapse.users.monitoring = { };
|
||||||
clan.matrix-synapse.users.clan-bot = { };
|
clan.matrix-synapse.users.clan-bot = { };
|
||||||
|
|
||||||
|
# Rate limiting settings
|
||||||
|
# we need to up this to be able to support matrix bots
|
||||||
|
services.matrix-synapse.settings = {
|
||||||
|
rc_login = {
|
||||||
|
address = {
|
||||||
|
per_second = 20;
|
||||||
|
burst_count = 200;
|
||||||
|
};
|
||||||
|
account = {
|
||||||
|
per_second = 20;
|
||||||
|
burst_count = 200;
|
||||||
|
};
|
||||||
|
failed_attempts = {
|
||||||
|
per_second = 3;
|
||||||
|
burst_count = 15;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user