diff --git a/cruncher/cruncher.go b/cruncher/cruncher.go index 47db56d36..61bf8ac4b 100644 --- a/cruncher/cruncher.go +++ b/cruncher/cruncher.go @@ -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