]> git.ipfire.org Git - pbs.git/commit
ratelimiter: Reimplement using the PostgreSQL database
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Jan 2025 14:27:03 +0000 (14:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Jan 2025 14:27:03 +0000 (14:27 +0000)
commit24da53ef3b554b50c6786a974e0119ffdbdeb351
tree997c177422863c4a8831ee6503caa23890f3c9c1
parentdabdb4b6479ada8c4813727a50c2c47434484803
ratelimiter: Reimplement using the PostgreSQL database

Redis does not seem the right choice for this. We can have a fast,
unlogged database table for any of this data and we can drop the entire
depdency to redis.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/__init__.py
src/buildservice/ratelimiter.py
src/database.sql