From 42a5995647930831b621670b654cfd866bb377d5 Mon Sep 17 00:00:00 2001 From: Klemek Date: Fri, 3 Jul 2026 15:37:22 +0200 Subject: [PATCH] tools: use in memory databases by default --- .gitignore | 1 + app/params.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1d926bf..b9aa664 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ dist .pytest_cache node_modules .eslintcache +*.sqlite diff --git a/app/params.py b/app/params.py index 43919b3..701acfa 100644 --- a/app/params.py +++ b/app/params.py @@ -15,8 +15,8 @@ class Parameters: port: int = 5000 workers: int = 4 timeout: int = 120 - db_uri: str = "postgres://localhost:5432/tout-doux" - cache_uri: str = "redis://localhost:6379" + db_uri: str = "sqlite://db.sqlite" + cache_uri: str = "memory://" @classmethod def from_namespace(cls, args: argparse.Namespace) -> Parameters: