From 19b219a8a8a692859f4b7fd5376462734ca5869a Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 19 Nov 2024 15:20:40 +0000 Subject: [PATCH] Remove bson call from worker. --- packages/worker/src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/worker/src/index.ts b/packages/worker/src/index.ts index 8a26a69dde..0547afab38 100644 --- a/packages/worker/src/index.ts +++ b/packages/worker/src/index.ts @@ -24,7 +24,6 @@ import { db.init() import koaBody from "koa-body" import http from "http" -import bson from "bson" import api from "./api" const koaSession = require("koa-session") @@ -101,10 +100,6 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => { } console.log(startupLog) - if (coreEnv.BSON_BUFFER_SIZE) { - bson.setInternalBufferSize(coreEnv.BSON_BUFFER_SIZE) - } - await initPro() await redis.clients.init() features.init()