Skip to content
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: 1 addition & 1 deletion docs/sdk/server-side-sdks/node/node-gettingstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ initializeDevCycle('<DEVCYCLE_SERVER_SDK_KEY>', {
| flushEventQueueSize | Number | Controls the maximum size the event queue can grow to until a flush is forced. Defaults to `1000`. |
| maxEventQueueSize | Number | Controls the maximum size the event queue can grow to until events are dropped. Defaults to `2000`. |
| apiProxyURL | String | Allows the SDK to communicate with a proxy of DevCycle bucketing API / client SDK API. |
| disableRealtimeUpdates | Boolean | Disables the usage of realtime updates SSE connections for DevCycle, will revert to polling against the config CDN. |
| disableRealTimeUpdates | Boolean | Disables the usage of realtime updates SSE connections for DevCycle, will revert to polling against the config CDN. |
Comment thread
leslie-lau marked this conversation as resolved.
4 changes: 2 additions & 2 deletions docs/sdk/server-side-sdks/node/node-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ This feature reduces the number of polling requests that are made to the DevCycl
use a long-lived HTTP connection (Server Sent Events) to receive updates when there is a new config available.
This reduces outbound network traffic, as well as optimizes the SDK for efficiency.

To disable realtime updates, pass in the `disableRealtimeUpdates` option to the SDK initialization:
To disable realtime updates, pass in the `disableRealTimeUpdates` option to the SDK initialization:

```typescript
import { initializeDevCycle } from '@devcycle/nodejs-server-sdk'

const devcycleClient = initializeDevCycle('<DEVCYCLE_SERVER_SDK_KEY>', {
disableRealtimeUpdates: true,
disableRealTimeUpdates: true,
})
```

Expand Down