Documentation
¶
Overview ¶
Package devtoolsops contains the shared logic for toggling the lerd_devtools collector. Like the debug bridge, it is restart-free: the conf.d ini is always volume-mounted into every FPM container and active state is signalled by a sentinel file the extension stats per request, so toggling is a single filesystem touch that applies on the next PHP request without restarting any container or worker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkersResult ¶
WorkersResult reports the post-apply state of the worker-capture toggle.
func SetWorkers ¶
func SetWorkers(enabled bool) (WorkersResult, error)
SetWorkers opts queue/scheduler worker queries into (or out of) capture by touching the workers sentinel and persisting the flag. Restart-free, same as the enable toggle. Long-running workers pick up the change when they next recycle (Horizon) or run (scheduler); a one-off restart isn't forced.