mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-02 18:02:29 +02:00
Merge pull request #3367 from cfromknecht/batched-graph-updates
Batched graph updates
This commit is contained in:
@@ -3,7 +3,6 @@ package routing
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"runtime"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
@@ -914,7 +913,7 @@ func (r *ChannelRouter) networkHandler() {
|
||||
|
||||
// We'll use this validation barrier to ensure that we process all jobs
|
||||
// in the proper order during parallel validation.
|
||||
validationBarrier := NewValidationBarrier(runtime.NumCPU()*4, r.quit)
|
||||
validationBarrier := NewValidationBarrier(1000, r.quit)
|
||||
|
||||
for {
|
||||
|
||||
|
Reference in New Issue
Block a user