Skip to content

Commit

Permalink
Merge pull request #590 from Ckk3/fix-envvar-CLEAN_STORE_CLEANING_INT…
Browse files Browse the repository at this point in the history
…ERVAL

Corrigindo variável inexistente do arquivo env.config.ts e substituindo pela correta CLEAN_STORE_CLEANING_INTERVAL
  • Loading branch information
DavidsonGomes authored May 9, 2024
2 parents 9ccdb45 + 6144fbe commit 8cc1b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/env.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ export class ConfigService {
LABELS: process.env?.STORE_LABELS === 'true',
},
CLEAN_STORE: {
CLEANING_INTERVAL: Number.isInteger(process.env?.CLEAN_STORE_CLEANING_TERMINAL)
? Number.parseInt(process.env.CLEAN_STORE_CLEANING_TERMINAL)
CLEANING_INTERVAL: Number.isInteger(process.env?.CLEAN_STORE_CLEANING_INTERVAL)
? Number.parseInt(process.env.CLEAN_STORE_CLEANING_INTERVAL)
: 7200,
MESSAGES: process.env?.CLEAN_STORE_MESSAGES === 'true',
MESSAGE_UP: process.env?.CLEAN_STORE_MESSAGE_UP === 'true',
Expand Down

0 comments on commit 8cc1b8d

Please sign in to comment.