Skip to content
Snippets Groups Projects
Commit c409dde5 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Unify objstorage and storage configuration

Related T613
parent d6d5d7ee
No related branches found
No related tags found
No related merge requests found
......@@ -20,12 +20,16 @@ cooking_task_name = 'swh.storage.vault.api.cooking_tasks.SWHCookingTask'
DEFAULT_CONFIG = {
'storage': ('dict', {'storage_class': 'local_storage',
'storage_args': [
'dbname=softwareheritage-dev',
'/tmp/objects'
]
}),
'storage': ('dict', {
'cls': 'local',
'args': {
'db': 'dbname=softwareheritage-dev',
'objstorage': {
'root': '/tmp/objects',
'slicing': '0:2/2:4/4:6',
},
},
}),
'cache': ('dict', {'root': '/tmp/vaultcache'})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment