Timer to 30s
This commit is contained in:
parent
f6ea41cf9c
commit
3bec6d290c
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue