mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-09 12:31:21 +00:00
e3: deadlock fix
This commit is contained in:
parent
8bb83fe770
commit
331f3ed871
@ -936,7 +936,7 @@ func reconstituteStep(last bool,
|
|||||||
commitThreshold := batchSize.Bytes()
|
commitThreshold := batchSize.Bytes()
|
||||||
prevRollbackCount := uint64(0)
|
prevRollbackCount := uint64(0)
|
||||||
prevTime := time.Now()
|
prevTime := time.Now()
|
||||||
reconDone := make(chan struct{})
|
reconDone := make(chan struct{}, 1)
|
||||||
|
|
||||||
defer close(reconDone)
|
defer close(reconDone)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user