diff options
Diffstat (limited to 'apps/workers/index.ts')
| -rw-r--r-- | apps/workers/index.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/workers/index.ts b/apps/workers/index.ts index 4db524ef..24bdc67b 100644 --- a/apps/workers/index.ts +++ b/apps/workers/index.ts @@ -1,14 +1,15 @@ import "dotenv/config"; + import { CrawlerWorker } from "./crawlerWorker"; +import { shutdownPromise } from "./exit"; import { OpenAiWorker } from "./openaiWorker"; import { SearchIndexingWorker } from "./searchWorker"; -import { shutdownPromise } from "./exit"; async function main() { const [crawler, openai, search] = [ await CrawlerWorker.build(), - await OpenAiWorker.build(), - await SearchIndexingWorker.build(), + OpenAiWorker.build(), + SearchIndexingWorker.build(), ]; await Promise.any([ |
