mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
search indexing process coupling
This commit is contained in:
parent
65390ab67d
commit
7faf6d6cff
8 changed files with 201 additions and 184 deletions
|
@ -19,7 +19,6 @@ import (
|
|||
"github.com/documize/community/core/api/request"
|
||||
"github.com/documize/community/core/env"
|
||||
"github.com/documize/community/domain"
|
||||
"github.com/documize/community/domain/search"
|
||||
"github.com/documize/community/domain/section"
|
||||
"github.com/documize/community/edition/boot"
|
||||
"github.com/documize/community/edition/logging"
|
||||
|
@ -69,9 +68,6 @@ func main() {
|
|||
// Register smart sections
|
||||
section.Register(rt)
|
||||
|
||||
// Search indexer queue
|
||||
search.Start(&rt, &s)
|
||||
|
||||
ready := make(chan struct{}, 1) // channel signals router ready
|
||||
server.Start(&rt, &s, ready)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue