@budibase/worker 2.29.4 → 2.29.8
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/worker",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "2.29.
|
|
4
|
+
"version": "2.29.8",
|
|
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.29.
|
|
41
|
-
"@budibase/pro": "2.29.
|
|
42
|
-
"@budibase/string-templates": "2.29.
|
|
43
|
-
"@budibase/types": "2.29.
|
|
40
|
+
"@budibase/backend-core": "2.29.8",
|
|
41
|
+
"@budibase/pro": "2.29.8",
|
|
42
|
+
"@budibase/string-templates": "2.29.8",
|
|
43
|
+
"@budibase/types": "2.29.8",
|
|
44
44
|
"@koa/router": "8.0.8",
|
|
45
45
|
"@techpass/passport-openidconnect": "0.3.2",
|
|
46
46
|
"@types/global-agent": "2.1.1",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "bae20c501ab454a1220ffe5727013184805982ab"
|
|
113
113
|
}
|
|
@@ -3,12 +3,6 @@ import env from "../../../environment"
|
|
|
3
3
|
import { env as coreEnv } from "@budibase/backend-core"
|
|
4
4
|
import nodeFetch from "node-fetch"
|
|
5
5
|
|
|
6
|
-
// When we come to move to SQS fully and move away from Clouseau, we will need
|
|
7
|
-
// to flip this to true (or remove it entirely). This will then be used to
|
|
8
|
-
// determine if we should show the maintenance page that links to the SQS
|
|
9
|
-
// migration docs.
|
|
10
|
-
const sqsRequired = false
|
|
11
|
-
|
|
12
6
|
let sqsAvailable: boolean
|
|
13
7
|
async function isSqsAvailable() {
|
|
14
8
|
// We cache this value for the duration of the Node process because we don't
|
|
@@ -30,7 +24,7 @@ async function isSqsAvailable() {
|
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
async function isSqsMissing() {
|
|
33
|
-
return
|
|
27
|
+
return env.SQS_SEARCH_ENABLE && !(await isSqsAvailable())
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
export const fetch = async (ctx: Ctx) => {
|