@budibase/worker 1.0.220-alpha.0 → 1.0.220-alpha.3

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/.yarnrc ADDED
@@ -0,0 +1 @@
1
+ network-timeout 100000
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "1.0.220-alpha.0",
4
+ "version": "1.0.220-alpha.3",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -34,9 +34,9 @@
34
34
  "author": "Budibase",
35
35
  "license": "GPL-3.0",
36
36
  "dependencies": {
37
- "@budibase/backend-core": "^1.0.220-alpha.0",
38
- "@budibase/pro": "1.0.219",
39
- "@budibase/string-templates": "^1.0.220-alpha.0",
37
+ "@budibase/backend-core": "^1.0.220-alpha.3",
38
+ "@budibase/pro": "1.0.220-alpha.2",
39
+ "@budibase/string-templates": "^1.0.220-alpha.3",
40
40
  "@koa/router": "8.0.8",
41
41
  "@sentry/node": "6.17.7",
42
42
  "@techpass/passport-openidconnect": "0.3.2",
@@ -66,7 +66,7 @@
66
66
  "server-destroy": "1.0.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@budibase/types": "^1.0.220-alpha.0",
69
+ "@budibase/types": "^1.0.220-alpha.3",
70
70
  "@types/jest": "26.0.23",
71
71
  "@types/koa": "2.13.4",
72
72
  "@types/koa-router": "7.4.4",
@@ -100,5 +100,5 @@
100
100
  "./scripts/jestSetup.js"
101
101
  ]
102
102
  },
103
- "gitHead": "00cefe45cc19f1151ad2a4590d6a5aed0afa0ea7"
103
+ "gitHead": "52fce58f07a3a1c6fba0d7861ca3a868b4ee5325"
104
104
  }
@@ -60,11 +60,13 @@ export const adminUser = async (ctx: any) => {
60
60
  tenantId,
61
61
  }
62
62
  try {
63
+ // always bust checklist beforehand, if an error occurs but can proceed, don't get
64
+ // stuck in a cycle
65
+ await cache.bustCache(cache.CacheKeys.CHECKLIST)
63
66
  const finalUser = await users.save(user, {
64
67
  hashPassword,
65
68
  requirePassword,
66
69
  })
67
- await cache.bustCache(cache.CacheKeys.CHECKLIST)
68
70
 
69
71
  // events
70
72
  let account: CloudAccount | undefined