How to disable unleash #9227
Unanswered
FedericoAlvarez
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi! Depending on your SDK, you can set the fetch interval and metrics interval to 0 to disable the network activity. You could also provide a FakeUnleash implementation in your cron-job if you don't need feature flags at all here, or a custom no-op implementation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there!
So this is my use case: My application has two deploys I have a cron job and a service.
I would like to programatically set if i want unleash to be active or not, as in my case the job doesn't use features flags.
And my logs are full of:
io.getunleash.UnleashException: Could not fetch toggles
Any idea how can archive that?
ty
Beta Was this translation helpful? Give feedback.
All reactions