tools: use in memory databases by default
This commit is contained in:
@@ -11,3 +11,4 @@ dist
|
||||
.pytest_cache
|
||||
node_modules
|
||||
.eslintcache
|
||||
*.sqlite
|
||||
|
||||
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user