Skip to content

Commit e13c02f

Browse files
committed
update default event flush interval
1 parent 703cbb2 commit e13c02f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/integration_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
SDK: javascript
4242
FULLSTACK_TEST_REPO: ${{ inputs.FULLSTACK_TEST_REPO }}
4343
BUILD_NUMBER: ${{ github.run_id }}
44-
TESTAPP_BRANCH: master
44+
TESTAPP_BRANCH: raju/event_proc
4545
GITHUB_TOKEN: ${{ secrets.CI_USER_TOKEN }}
4646
EVENT_TYPE: ${{ github.event_name }}
4747
GITHUB_CONTEXT: ${{ toJson(github) }}

lib/event_processor/event_processor_factory.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ import { BatchEventProcessor, DEFAULT_MAX_BACKOFF, DEFAULT_MIN_BACKOFF, EventWit
2323
import { AsyncPrefixCache, Cache, SyncPrefixCache } from "../utils/cache/cache";
2424

2525
export const DEFAULT_EVENT_BATCH_SIZE = 10;
26-
export const DEFAULT_EVENT_FLUSH_INTERVAL = 1000;
26+
// export const DEFAULT_EVENT_FLUSH_INTERVAL = 1000;
27+
export const DEFAULT_EVENT_FLUSH_INTERVAL = 30_000;
2728
export const DEFAULT_EVENT_MAX_QUEUE_SIZE = 10000;
2829
export const FAILED_EVENT_RETRY_INTERVAL = 20 * 1000;
2930
export const EVENT_STORE_PREFIX = 'optly_event:';

0 commit comments

Comments
 (0)