Keep QA check for no caching of app migration info.
This commit is contained in:
parent
5b385ce8ae
commit
c2415012c2
|
@ -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 in order to be able to tweak it
|
||||
if (metadata && !env.isDev()) {
|
||||
// We don't want to cache in dev or QA in order to be able to tweak it
|
||||
if (metadata && !env.isDev() && !env.isQA()) {
|
||||
return metadata.version
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue