Commit 9da8f09
committed
fix: use configured backend_host in notify_backend() instead of hardcoded 0.0.0.0
The notify_backend() function was hardcoding "0.0.0.0" as the backend
host in the terminal log output, ignoring the backend_host value set in
rxconfig.py or passed via --backend-host CLI argument.
This change:
- Adds an optional `host` parameter to notify_backend() that falls back
to config.backend_host when not provided
- Passes the resolved host from run_backend() and run_backend_prod()
call sites so CLI --backend-host overrides are reflected in logs
- Persists the resolved backend_host in the config (via _set_persistent)
so it is available to notify_backend() even when called from the
frontend thread in run_process_and_launch_url()
Fixes #61651 parent 64a0bc6 commit 9da8f09
2 files changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | | - | |
| 169 | + | |
164 | 170 | | |
165 | 171 | | |
166 | 172 | | |
| |||
378 | 384 | | |
379 | 385 | | |
380 | 386 | | |
381 | | - | |
| 387 | + | |
382 | 388 | | |
383 | 389 | | |
384 | 390 | | |
| |||
579 | 585 | | |
580 | 586 | | |
581 | 587 | | |
582 | | - | |
| 588 | + | |
583 | 589 | | |
584 | 590 | | |
585 | 591 | | |
| |||
0 commit comments