Skip to content

Commit 3c47dae

Browse files
chore: set eventFlushIntervalMS
1 parent 702dc75 commit 3c47dae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/App.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ function App() {
1616
const Fallback = () => (<h2>Initializing...</h2>)
1717

1818
devCycleProvider = new DevCycleReactProvider(DEVCYCLE_CLIENT_SDK_KEY, {
19-
logLevel: 'debug'
19+
logLevel: 'debug',
20+
// Controls the interval between flushing events to the DevCycle servers
21+
eventFlushIntervalMS: 1000,
2022
})
2123
OpenFeature.setContext({
2224
user_id: 'user123',

0 commit comments

Comments
 (0)