From a5c0dace150c24754233a792da12010fbcb95d60 Mon Sep 17 00:00:00 2001 From: georgehao Date: Wed, 15 Nov 2023 17:53:35 +0800 Subject: [PATCH] feat: reduce the fetch limit size --- bridge-history-api/crossmsg/fetch_missing_event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge-history-api/crossmsg/fetch_missing_event.go b/bridge-history-api/crossmsg/fetch_missing_event.go index 95a1b68cb4..c6ab89a273 100644 --- a/bridge-history-api/crossmsg/fetch_missing_event.go +++ b/bridge-history-api/crossmsg/fetch_missing_event.go @@ -18,7 +18,7 @@ import ( // Todo : read from config var ( // the number of blocks fetch per round - fetchLimit = uint64(3000) + fetchLimit = uint64(500) ) // FetchAndSave is a function type that fetches events from blockchain and saves them to database