Cleanup intervals on destroyed views extension

This commit is contained in:
Tom Moor
2023-06-25 22:52:28 -04:00
parent 94882d4d3a
commit edb9099c9d
3 changed files with 14 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ export default function init(
extensions: [
new Throttle({
throttle: env.RATE_LIMITER_COLLABORATION_REQUESTS,
consideredSeconds: env.RATE_LIMITER_DURATION_WINDOW,
// Ban time is defined in minutes
banTime: 5,
}),