Commit 54435af
committed
fix(controller): make langfuse-tracer always-allow to avoid gateway restart
langfuse-tracer was conditionally added to plugins.allow based on
analyticsEnabled. On first boot or when the preference changed, this
mutated plugins.allow, which OpenClaw treats as a full gateway restart
(~11s drain + process restart on Windows).
Move langfuse-tracer to the unconditional always-allow list and use
the entries.enabled flag to toggle it. This way analytics preference
changes only flip the enabled flag (hot-reload path) instead of
mutating plugins.allow (full restart path).1 parent 620f486 commit 54435af
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
293 | 296 | | |
294 | 297 | | |
295 | 298 | | |
| |||
341 | 344 | | |
342 | 345 | | |
343 | 346 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
351 | 350 | | |
352 | 351 | | |
353 | 352 | | |
| |||
0 commit comments