From f2ae88a616797fa7451c687cbef07777ebbbee81 Mon Sep 17 00:00:00 2001 From: danielailie Date: Thu, 25 Jul 2024 15:29:38 +0300 Subject: [PATCH] increase timeout --- .../elastic-updates/elastic-updates-events.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/rabbitmq/elastic-updates/elastic-updates-events.service.ts b/src/modules/rabbitmq/elastic-updates/elastic-updates-events.service.ts index 18c577952..5f6960f58 100644 --- a/src/modules/rabbitmq/elastic-updates/elastic-updates-events.service.ts +++ b/src/modules/rabbitmq/elastic-updates/elastic-updates-events.service.ts @@ -23,7 +23,7 @@ export class ElasticUpdatesEventsService { private readonly documentDbService: DocumentDbService, private readonly redisCacheService: RedisCacheService, private readonly mxApiService: MxApiService, - ) {} + ) { } public async handleNftMintEvents(mintEvents: any[], hash: string): Promise { await new Promise((resolve) => setTimeout(resolve, 10000)); @@ -111,7 +111,7 @@ export class ElasticUpdatesEventsService { } public async handleScamInfoForNftMintBurnAndUpdateEvents(mintEvents: any[]): Promise { - await new Promise((resolve) => setTimeout(resolve, 5000)); + await new Promise((resolve) => setTimeout(resolve, 10000)); let nftsToUpdate: Asset[] = []; let nftsToDelete: string[] = [];