From c622775910ee71c9db3fe0a50b6838504d21a10d Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Thu, 16 May 2024 06:58:38 -0700 Subject: [PATCH] tighter phoenix interval --- src/index.ts | 2 +- src/publishers/dlobPublisher.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 6277091..7b0ebe3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -173,7 +173,7 @@ const initializeAllMarketSubscribers = async (driftClient: DriftClient) => { const bulkAccountLoader = new BulkAccountLoader( driftClient.connection, stateCommitment, - 5_000 + 2_000 ); const phoenixSubscriber = new PhoenixSubscriber({ connection: driftClient.connection, diff --git a/src/publishers/dlobPublisher.ts b/src/publishers/dlobPublisher.ts index 3687e2a..b33ce9e 100644 --- a/src/publishers/dlobPublisher.ts +++ b/src/publishers/dlobPublisher.ts @@ -209,7 +209,7 @@ const initializeAllMarketSubscribers = async (driftClient: DriftClient) => { const bulkAccountLoader = new BulkAccountLoader( driftClient.connection, stateCommitment, - 5_000 + 2_000 ); const phoenixSubscriber = new PhoenixSubscriber({ connection: driftClient.connection,