]> git.ipfire.org Git - dbl.git/commit
ratelimiter: Change limit for the entire class after auth
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Mar 2026 16:56:36 +0000 (16:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Mar 2026 16:56:36 +0000 (16:56 +0000)
commitde9ca30a00b0c2322a12aa5b7c8bc9717021cbbf
treed68db0efe2a685a53a301b6455ba4583ddb26f68
parenta0de6227ad7ae511c3347a4bf02b2cc6f59daa13
ratelimiter: Change limit for the entire class after auth

We are accessing the limit variables outside of this function, so we
will have to reset limit. This is slightly annoying, but we cannot
perform any authentication checks in __init__().

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dbl/ratelimiter.py