Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use ENABLE_FLAGSMITH_REALTIME environment var #3867

Merged
merged 2 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/docs/deployment/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ Once you have created the project, you need to set the following
- `FLAGSMITH_ON_FLAGSMITH_API_KEY`
- The Flagsmith Client-side Environment Key we use to manage features - Flagsmith runs on Flagsmith. This will be the
API key for the project you created as instructed above.
- `ENABLE_FLAGSMITH_REALTIME`
- Determines whether the Flagsmith on Flagsmith SDK uses Realtime.
- `FLAGSMITH_ON_FLAGSMITH_API_URL`
- The API URL which the Flagsmith front end dashboard should communicate with. This will most likely be the domain
name of the Flagsmith API you are self hosting: Flagsmith runs on Flagsmith. E.g. For our SaaS hosted platform, the
Expand Down
2 changes: 1 addition & 1 deletion frontend/common/stores/config-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ flagsmith
enableDynatrace,
environmentID: Project.flagsmith,
onChange: controller.loaded,
realtime: true,
realtime: Project.flagsmithRealtime,
})
.catch(() => {
controller.onError()
Expand Down