mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-29 03:34:31 +00:00
Fix create of elastic index
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
0c9e58f85b
commit
c84f825003
@ -278,6 +278,8 @@ export async function startIndexer (
|
||||
)
|
||||
const fulltextAdapter = await opt.config.fulltextAdapter.factory(opt.config.fulltextAdapter.url)
|
||||
|
||||
await fulltextAdapter.initMapping(ctx)
|
||||
|
||||
const shutdownInterval = setInterval(() => {
|
||||
for (const [k, v] of [...indexers.entries()]) {
|
||||
if (v instanceof Promise) {
|
||||
|
Loading…
Reference in New Issue
Block a user