FlagFix
Guides

How to implement a kill switch

Publish killSwitch. Do not wait for a binary.

Cette page n’a pas encore de traduction française. Le texte anglais fait foi.

Last updated on

Check hasFeature("payments_v2") in code. When that path misbehaves, set killSwitch on the production environment draft and publish. Browser sessions on SSE refresh. Node refreshes on the next evaluate-all unless you set flags.pollIntervalMs.

You turn the switch on yourself in the dashboard, then publish. FlagFix does not flip it from an error rate.

Cette page vous a-t-elle été utile ?