Skip to content

Commit

Permalink
#297 SQLite database is implemented, it needs debug now
Browse files Browse the repository at this point in the history
  • Loading branch information
sapetnioc committed Oct 26, 2023
1 parent 1ffa728 commit 721418b
Show file tree
Hide file tree
Showing 3 changed files with 712 additions and 1 deletion.
5 changes: 5 additions & 0 deletions capsul/config/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
'path': '$HOME/.config/{app_name}/database.rdb',
}

# default_builtin_database = {
# 'type': 'sqlite',
# 'path': '$HOME/.config/{app_name}/database.sqlite',
# }

default_engine_start_workers = {
'type': 'builtin',
'count': max(1, int(multiprocessing.cpu_count()/4)),
Expand Down
2 changes: 1 addition & 1 deletion capsul/database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


database_classes = {
'sqlite': 'capsul.database.populse_db:Populse_dbExecutionDatabase',
'sqlite': 'capsul.database.sqlite:SQliteExecutionDatabase',
'redis': 'capsul.database.redis:RedisExecutionDatabase',
'redis+socket': 'capsul.database.redis:RedisExecutionDatabase',
}
Expand Down
Loading

0 comments on commit 721418b

Please sign in to comment.