Skip to content

Commit b202065

Browse files
committed
Fix config option
1 parent 5fa6338 commit b202065

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

HEXDOCS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ config :flagsmith_engine, :configuration,
3838
default_flag_handler: function_defaults_to_not_found,
3939
custom_headers: [{"to add to", "the requests"}],
4040
request_timeout_milliseconds: 5000,
41-
enabled_local_evaluation: false,
41+
enable_local_evaluation: false,
4242
environment_refresh_interval_milliseconds: 60_000,
4343
retries: 0,
4444
enable_analytics: false
@@ -77,7 +77,7 @@ To enable analytics or local evaluation, besides setting the configuration keys
7777
defmodule YourAppWeb.Application do
7878

7979
# ...
80-
80+
8181
def start(_type, _args) do
8282
children = [
8383
Flagsmith.Supervisor,
@@ -87,7 +87,7 @@ defmodule YourAppWeb.Application do
8787
opts = [strategy: :one_for_one, name: YourAppWeb.Supervisor]
8888
Supervisor.start_link(children, opts)
8989
end
90-
90+
9191
# ...
9292
```
9393

@@ -201,4 +201,4 @@ And obviously, if the identity has that trait and you do the regular API call wi
201201

202202
- `retries` -> the number of times the http adapter is allowed to retry failed calls to the Flagsmith API before deeming the response failed. Keep in mind that with local_evaluation and analytics, even if the requests fail after whatever number of retries you set here, they will keep being retried as their time-cycle resets (for the poller whatever is the environment_refresh_interval_milliseconds, for the analytics they're batched, and a dump is tried every 1 minute)
203203

204-
- `enable_analytics` -> track feature queries by reporting automatically to the Flagsmith API analytics endpoint queries and lookups to features. This only works when using the `Flagsmith.Client` module functions such as `is_feature_enabled`, `get_feature_value` and `get_flag`.
204+
- `enable_analytics` -> track feature queries by reporting automatically to the Flagsmith API analytics endpoint queries and lookups to features. This only works when using the `Flagsmith.Client` module functions such as `is_feature_enabled`, `get_feature_value` and `get_flag`.

0 commit comments

Comments
 (0)