You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/node-sdk/README.md
+2-9Lines changed: 2 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,15 +148,8 @@ const client = new BucketClient({
148
148
149
149
### Feature definitions
150
150
151
-
Feature definitions include the rules needed to determine which features should be enabled and which config values should be applied to any given user/company. Feature definitions are automatically fetched, cached and refreshed in the background. The cache behavior is configurable:
152
-
153
-
```typescript
154
-
const client =newBucketClient({
155
-
refetchInterval: 30000, // How often to refresh features (ms)
156
-
staleWarningInterval: 150000, // When to warn about stale features (ms)
157
-
});
158
-
```
159
-
151
+
Feature definitions include the rules needed to determine which features should be enabled and which config values should be applied to any given user/company.
152
+
Feature definitions are automatically fetched, cached and refreshed in the background.
160
153
It's also possible to load the feature definitions from a local file or similar:
0 commit comments