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 packages/node-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ The batch buffer is configurable through the client options:
const client = new ReflagClient({
batchOptions: {
maxSize: 100, // Maximum number of events to batch
intervalMs: 1000, // Flush interval in milliseconds
intervalMs: 10000, // Flush interval in milliseconds (default: 10000)
},
});
```
Expand Down
2 changes: 1 addition & 1 deletion packages/node-sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ export type BatchBufferOptions<T> = {
* The interval in milliseconds at which the buffer is flushed.
* @remarks
* If `0`, the buffer is flushed only when `maxSize` is reached.
* @defaultValue `1000`
* @defaultValue `10000`
**/
intervalMs?: number;

Expand Down
Loading