1
0
Fork 0
mirror of synced 2024-07-13 02:05:54 +12:00

Merge branch 'master' of github.com:budibase/budibase into budi-8349-in-memory-search-parity-testing

This commit is contained in:
Sam Rose 2024-06-13 12:24:40 +01:00
commit f352c5efc1
No known key found for this signature in database
2 changed files with 3 additions and 5 deletions

View file

@ -25,8 +25,8 @@ export async function getAppMigrationVersion(appId: string): Promise<string> {
let metadata: AppMigrationDoc | undefined = await cache.get(cacheKey)
// We don't want to cache in dev or QA in order to be able to tweak it
if (metadata && !env.isDev() && !env.isQA()) {
// returned cached version if we found one
if (metadata?.version) {
return metadata.version
}

View file

@ -20,7 +20,7 @@ import * as pro from "@budibase/pro"
import * as api from "../api"
import sdk from "../sdk"
import { initialise as initialiseWebsockets } from "../websockets"
import { apiEnabled, automationsEnabled, printFeatures } from "../features"
import { automationsEnabled, printFeatures } from "../features"
import * as jsRunner from "../jsRunner"
import Koa from "koa"
import { Server } from "http"
@ -121,8 +121,6 @@ export async function startup(
// app migrations and automations on other service
if (automationsEnabled()) {
queuePromises.push(automations.init())
}
if (apiEnabled()) {
queuePromises.push(appMigrations.init())
}
queuePromises.push(initPro())