Skip to content

Commit 06ffb81

Browse files
committed
update docs to remove mention of refetchInterval because it's not available
1 parent bdeab03 commit 06ffb81

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

packages/node-sdk/README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,8 @@ const client = new BucketClient({
148148

149149
### Feature definitions
150150

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 = new BucketClient({
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.
160153
It's also possible to load the feature definitions from a local file or similar:
161154

162155
```typescript

0 commit comments

Comments
 (0)