Server endpoints goroutine refactor #69
2 changed files with 0 additions and 3 deletions
2
db/db.go
2
db/db.go
|
@ -59,7 +59,6 @@ type ReadOnlyDBColumnFamily struct {
|
|||
BlockedChannels map[string][]byte
|
||||
FilteredStreams map[string][]byte
|
||||
FilteredChannels map[string][]byte
|
||||
|
||||
OpenIterators map[string][]chan struct{}
|
||||
Grp *stop.Group
|
||||
ShutdownChan chan struct{}
|
||||
DoneChan chan struct{}
|
||||
|
@ -602,7 +601,6 @@ func GetDBColumnFamilies(name string, secondayPath string, cfNames []string) (*R
|
|||
LastState: nil,
|
||||
Height: 0,
|
||||
Headers: nil,
|
||||
OpenIterators: make(map[string][]chan struct{}),
|
||||
ShutdownChan: make(chan struct{}, 1),
|
||||
DoneChan: make(chan struct{}, 1),
|
||||
}
|
||||
|
|
|
@ -93,7 +93,6 @@ func OpenAndFillTmpDBColumnFamlies(filePath string) (*dbpkg.ReadOnlyDBColumnFami
|
|||
LastState: nil,
|
||||
Height: 0,
|
||||
Headers: nil,
|
||||
OpenIterators: make(map[string][]chan struct{}),
|
||||
ShutdownChan: make(chan struct{}, 1),
|
||||
DoneChan: make(chan struct{}, 1),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue
OpenIterator
s,ItMut
not needed anymore.