@budibase/worker 3.2.6 → 3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/src/index.ts +6 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/worker",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.7",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"author": "Budibase",
|
|
38
38
|
"license": "GPL-3.0",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@budibase/backend-core": "3.2.
|
|
41
|
-
"@budibase/pro": "3.2.
|
|
42
|
-
"@budibase/string-templates": "3.2.
|
|
43
|
-
"@budibase/types": "3.2.
|
|
40
|
+
"@budibase/backend-core": "3.2.7",
|
|
41
|
+
"@budibase/pro": "3.2.7",
|
|
42
|
+
"@budibase/string-templates": "3.2.7",
|
|
43
|
+
"@budibase/types": "3.2.7",
|
|
44
44
|
"@koa/router": "8.0.8",
|
|
45
45
|
"@techpass/passport-openidconnect": "0.3.3",
|
|
46
46
|
"@types/global-agent": "2.1.1",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "fbfab71c1e93d79cf64736a218bf08fddde0ccd0"
|
|
111
111
|
}
|
package/src/index.ts
CHANGED
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
db.init()
|
|
25
25
|
import koaBody from "koa-body"
|
|
26
26
|
import http from "http"
|
|
27
|
+
import bson from "bson"
|
|
27
28
|
import api from "./api"
|
|
28
29
|
|
|
29
30
|
const koaSession = require("koa-session")
|
|
@@ -99,6 +100,11 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => {
|
|
|
99
100
|
startupLog = `${startupLog} - environment: "${env.BUDIBASE_ENVIRONMENT}"`
|
|
100
101
|
}
|
|
101
102
|
console.log(startupLog)
|
|
103
|
+
|
|
104
|
+
if (coreEnv.BSON_BUFFER_SIZE) {
|
|
105
|
+
bson.setInternalBufferSize(coreEnv.BSON_BUFFER_SIZE)
|
|
106
|
+
}
|
|
107
|
+
|
|
102
108
|
await initPro()
|
|
103
109
|
await redis.clients.init()
|
|
104
110
|
features.init()
|