server: fix slow profanity filter

This commit is contained in:
2023-11-10 19:06:18 +01:00
committed by Mathieu Virbel
parent 1c11b328b3
commit 84e425bd3b
3 changed files with 57 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ class Settings(BaseSettings):
# Redis
REDIS_HOST: str = "localhost"
REDIS_PORT: int = 6379
REDIS_CACHE_DB: int = 2
# Secret key
SECRET_KEY: str = "changeme-f02f86fd8b3e4fd892c6043e5a298e21"