Fantom-foundation/go-lachesis

View on GitHub
kvdb/flushable/synced_pool.go

Summary

Maintainability
A
1 hr
Test Coverage

Method SyncedPool.flush has 5 return statements (exceeds 4 allowed).
Open

func (p *SyncedPool) flush(id []byte) error {
    key := []byte("flag")

    // drop old DBs
    for name := range p.queuedDrops {
Severity: Major
Found in kvdb/flushable/synced_pool.go - About 35 mins to fix

    Method SyncedPool.checkDbsSynced has 5 return statements (exceeds 4 allowed).
    Open

    func (p *SyncedPool) checkDbsSynced() error {
        p.Lock()
        defer p.Unlock()
    
        var (
    Severity: Major
    Found in kvdb/flushable/synced_pool.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status