Revert "refactor(honcho): write all host-scoped settings into hosts block"
This reverts commit c90ba029ce.
This commit is contained in:
parent
c90ba029ce
commit
4c54c2709c
3 changed files with 28 additions and 42 deletions
|
|
@ -201,16 +201,8 @@ class HonchoClientConfig:
|
|||
or raw.get("recallMode")
|
||||
or "hybrid"
|
||||
),
|
||||
session_strategy=(
|
||||
host_block.get("sessionStrategy")
|
||||
or raw.get("sessionStrategy")
|
||||
or "per-session"
|
||||
),
|
||||
session_peer_prefix=(
|
||||
host_block.get("sessionPeerPrefix")
|
||||
if "sessionPeerPrefix" in host_block
|
||||
else raw.get("sessionPeerPrefix", False)
|
||||
),
|
||||
session_strategy=raw.get("sessionStrategy", "per-session"),
|
||||
session_peer_prefix=raw.get("sessionPeerPrefix", False),
|
||||
sessions=raw.get("sessions", {}),
|
||||
raw=raw,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue