@budibase/worker 2.21.4 → 2.21.5
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 +2 -0
- package/src/initPro.ts +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/worker",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "2.21.
|
|
4
|
+
"version": "2.21.5",
|
|
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": "2.21.
|
|
41
|
-
"@budibase/pro": "2.21.
|
|
42
|
-
"@budibase/string-templates": "2.21.
|
|
43
|
-
"@budibase/types": "2.21.
|
|
40
|
+
"@budibase/backend-core": "2.21.5",
|
|
41
|
+
"@budibase/pro": "2.21.5",
|
|
42
|
+
"@budibase/string-templates": "2.21.5",
|
|
43
|
+
"@budibase/types": "2.21.5",
|
|
44
44
|
"@koa/router": "8.0.8",
|
|
45
45
|
"@techpass/passport-openidconnect": "0.3.2",
|
|
46
46
|
"@types/global-agent": "2.1.1",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "2c62bb764aa6d937a4034b32a05cc5eca6ec4d79"
|
|
112
112
|
}
|
package/src/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
env as coreEnv,
|
|
18
18
|
timers,
|
|
19
19
|
redis,
|
|
20
|
+
cache,
|
|
20
21
|
} from "@budibase/backend-core"
|
|
21
22
|
|
|
22
23
|
db.init()
|
|
@@ -90,6 +91,7 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => {
|
|
|
90
91
|
console.log(`Worker running on ${JSON.stringify(server.address())}`)
|
|
91
92
|
await initPro()
|
|
92
93
|
await redis.clients.init()
|
|
94
|
+
cache.docWritethrough.init()
|
|
93
95
|
// configure events to use the pro audit log write
|
|
94
96
|
// can't integrate directly into backend-core due to cyclic issues
|
|
95
97
|
await events.processors.init(proSdk.auditLogs.write)
|