Skip to content

Commit 52ccff3

Browse files
author
Mikhail Astashkevich
committed
docs: Update Staging Environments docs
1 parent ab8ad2b commit 52ccff3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/pages/product/workspace/environments.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,18 @@ An environment provides access to your data model. Cube Cloud provides the follo
1212
You cannot query the development enviornment unless your user is in dev mode on the branch you are trying to access.
1313

1414
## Staging Environments
15-
Staging environments are typically only available when the linked branch is active.
16-
An active branch is the one that is selected on the Data Model screen by at least one user.
17-
To keep a staging environment always active, toggle the switch for the corresponding branch in Settings > Staging Environments.
15+
Staging environments are created for each branch in your repository. By default, these environments are only accessible when the branch is actively being viewed on the Data Model screen by at least one user. When no users are viewing the branch, the environment becomes inactive and its resources are deallocated.
16+
17+
To maintain continuous access to a staging environment regardless of user activity, you can use the "Always Active" toggle in Settings > Staging Environments. Here's how it works:
18+
19+
- Toggle OFF (default): The environment is only accessible when users are actively viewing the branch. When no users are viewing the branch, queries to this environment will fail.
20+
- Toggle ON: The environment remains active and accessible 24/7, regardless of user activity.
21+
22+
### Cost Implications
23+
Please note that staging environments consume resources only when they are being actively used:
24+
- Environments automatically suspend after 10 minutes of inactivity, regardless of the "Always Active" toggle setting
25+
- You are only charged for the time when environments are actively being used
26+
1827
<Screenshot
1928
src="https://ucarecdn.com/b0e81a61-5887-424b-af89-d5e9cebb24f2/"
2029
alt="Staging Environments settings"

0 commit comments

Comments
 (0)