From 3bec6d290c0132b9808909572fc2f26f8c50f76e Mon Sep 17 00:00:00 2001 From: adityapk Date: Fri, 13 May 2022 11:12:12 -0500 Subject: [PATCH] Timer to 30s --- common/mempool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mempool.go b/common/mempool.go index ffbbbc1..e765e39 100644 --- a/common/mempool.go +++ b/common/mempool.go @@ -153,7 +153,7 @@ func refreshMempoolTxns() error { // StartMempoolMonitor starts monitoring the mempool func StartMempoolMonitor(cache *BlockCache, done <-chan bool) { go func() { - ticker := time.NewTicker(4 * time.Second) + ticker := time.NewTicker(30 * time.Second) blockcache = cache lastHash = blockcache.GetLatestHash()