mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-13 16:11:01 +00:00
add fragment_container so Cruncher builds
This commit is contained in:
parent
ce8a17eded
commit
d8051ea1be
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ func (cruncher *Cruncher) Run(port int) {
|
|||
|
||||
func NewCruncher() *Cruncher {
|
||||
service := core.NewService()
|
||||
cruncher := Cruncher{*service, make(chan bool)}
|
||||
fragment_container := index.NewFragmentContainer()
|
||||
cruncher := Cruncher{*service, make(chan bool), fragment_container}
|
||||
cruncher.Transport = transport.NewTcpTransport(service)
|
||||
cruncher.Dispatch = dispatch.NewCruncherDispatch(service)
|
||||
return &cruncher
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue