Skip to content

Commit

Permalink
Use populse_db as default database
Browse files Browse the repository at this point in the history
  • Loading branch information
sapetnioc committed Mar 18, 2024
1 parent 2e8c6e3 commit 680527c
Show file tree
Hide file tree
Showing 5 changed files with 620 additions and 754 deletions.
8 changes: 2 additions & 6 deletions capsul/config/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@
from ..dataset import Dataset

default_builtin_database = {
"type": "sqlite",
"path": "$HOME/.config/{app_name}/database.sqlite",
}
default_builtin_database = {
"type": "redis+socket",
"path": "$HOME/.config/{app_name}/database.redis",
"type": "populse-db",
"path": "$HOME/.config/{app_name}/capsul.sqlite",
}

default_engine_start_workers = {
Expand Down
1 change: 1 addition & 0 deletions capsul/database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from ..pipeline.pipeline import Pipeline, Process

database_classes = {
"populse-db": "capsul.database.populse_db:PopulseDBExecutionDatabase",
"sqlite": "capsul.database.sqlite:SQliteExecutionDatabase",
"redis": "capsul.database.redis:RedisExecutionDatabase",
"redis+socket": "capsul.database.redis:RedisExecutionDatabase",
Expand Down
Loading

0 comments on commit 680527c

Please sign in to comment.