add INFISICAL_CLOUD env back from old backend

This commit is contained in:
Maidul Islam
2024-02-27 16:38:18 -05:00
parent 3b9ceff21c
commit fe497d87c0
2 changed files with 6 additions and 3 deletions
@@ -52,7 +52,7 @@ export const telemetryQueueServiceFactory = ({
// this sends some telemetry information like instance id secrets operated etc
const startTelemetryCheck = async () => {
// this is a fast way to check its cloud or not
if (appCfg.LICENSE_SERVER_KEY) return;
if (appCfg.INFISICAL_CLOUD) return;
// clear previous job
await queueService.stopRepeatableJob(
QueueName.TelemetryInstanceStats,