Merge pull request #15034 from Budibase/fix-worker-bson

Remove bson call from worker.
This commit is contained in:
Sam Rose 2024-11-19 15:25:06 +00:00 committed by GitHub
commit fd1dee993a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -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()