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

vault.config: Adapt scheduler configuration structure

parent a8fa5771
No related branches found
No related tags found
No related merge requests found
swh.core[db,http] >= 0.3
swh.model >= 0.3
swh.objstorage >= 0.0.17
swh.scheduler >= 0.0.39
swh.scheduler >= 0.7.0
swh.storage >= 0.0.106
......@@ -32,10 +32,7 @@ DEFAULT_CONFIG = {
"dict",
{"cls": "local", "args": {"db": "dbname=softwareheritage-vault-dev",},},
),
"scheduler": (
"dict",
{"cls": "remote", "args": {"url": "http://localhost:5008/",}},
),
"scheduler": ("dict", {"cls": "remote", "url": "http://localhost:5008/",},),
}
......
......@@ -77,7 +77,7 @@ def swh_vault(request, postgresql_proc, postgresql, postgresql2, tmp_path):
"allow_delete": True,
},
},
"scheduler": {"cls": "remote", "args": {"url": "http://swh-scheduler:5008",},},
"scheduler": {"cls": "remote", "url": "http://swh-scheduler:5008",},
}
return get_vault("local", vault_config)
......
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