Skip to content

Commit 18621fc

Browse files
authored
docs: clarify own refresh mechanism (#232)
1 parent 075d119 commit 18621fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,6 @@ If `bootstrapOverride` is `false` any local cached data will not be overridden u
296296

297297
## Manage your own refresh mechanism
298298

299-
You can opt out of the Unleash feature flag auto-refresh mechanism and metrics update by settings the `refreshInterval` and/or `metricsInterval` options to `false`.
299+
You can opt out of the Unleash feature flag auto-refresh mechanism and metrics update by settings the `refreshInterval` and/or `metricsInterval` options to `0`.
300300
In this case, it becomes your responsibility to call `updateToggles` and/or `sendMetrics` methods.
301301
This approach is useful in environments that do not support the `setInterval` API, such as service workers.

0 commit comments

Comments
 (0)