Rebuild profile router as secure recoverable v2
This commit is contained in:
@@ -176,10 +176,17 @@ def cleanup() -> None:
|
||||
|
||||
def main() -> None:
|
||||
global procs
|
||||
try:
|
||||
os.unlink("/tmp/test-chunked-router-state.json")
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
env = os.environ.copy()
|
||||
env.update({
|
||||
"ROUTER_HOST": "127.0.0.1",
|
||||
"ROUTER_PORT": str(PORTS["router"]),
|
||||
"ROUTER_AUTH_MODE": "off",
|
||||
"ROUTER_PROFILES_FILE": "",
|
||||
"ROUTER_STATE_FILE": "/tmp/test-chunked-router-state.json",
|
||||
"UPSTREAM_URL": f"http://127.0.0.1:{PORTS['llama']}",
|
||||
"PROFILE_SCRIPT": FAKE_PROFILE,
|
||||
"PROFILE_DIR": FAKE_PROFILE_DIR,
|
||||
|
||||
Reference in New Issue
Block a user