Skip to content

Commit

Permalink
scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong committed Jul 21, 2024
1 parent 197e0e3 commit 674881a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func New(flag *params.Config, cache, compress, listen bool, callback chan any) (
exitCh: make(chan any),
srvCh: make(chan int),
//exitSyncCh: make(chan any),
scope: uint64(math.Max(float64(runtime.NumCPU()*2), float64(4))),
scope: uint64(math.Max(float64(runtime.NumCPU()*2), float64(8))),
//taskCh: make(chan *types.Block, batch),
//taskCh: make(chan *types.Block, 1),
//start: mclock.Now(),
Expand Down

0 comments on commit 674881a

Please sign in to comment.