Skip to content

Commit

Permalink
Read redis configs in the agent spawner
Browse files Browse the repository at this point in the history
Signed-off-by: Siteshwar Vashisht <[email protected]>
  • Loading branch information
siteshwar committed Mar 14, 2024
1 parent 337b16d commit 41db92c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resalloc_agent_spawner/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ def get_config():
config.setdefault("agent_groups", {})
config.setdefault("resalloc_server", "http://localhost:49100")
config.setdefault("logfile", "/tmp/agent-spawner.log")
config.setdefault("redis_db", "")
config.setdefault("redis_host", "127.0.0.1")
config.setdefault("redis_port", "6379")
config.setdefault("redis_password", "")
groups = config["agent_groups"]
for group_id in groups.keys():
group = groups[group_id]
Expand Down

0 comments on commit 41db92c

Please sign in to comment.