Skip to content

Commit

Permalink
Add some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadranjbarz committed Oct 7, 2023
1 parent 21e2a98 commit 81501d3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/server/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,20 @@ export async function bootstrap() {
) {
runFillPowerSnapshotBalanceCronJob();
}
logger.debug('Running givPower cron jobs info ', {
UPDATE_POWER_SNAPSHOT_SERVICE_ACTIVE: config.get(
'UPDATE_POWER_SNAPSHOT_SERVICE_ACTIVE',
),
ENABLE_INSTANT_BOOSTING_UPDATE: config.get(
'ENABLE_INSTANT_BOOSTING_UPDATE',
),
INSTANT_BOOSTING_UPDATE_CRONJOB_EXPRESSION: config.get(
'INSTANT_BOOSTING_UPDATE_CRONJOB_EXPRESSION',
),
UPDATE_POWER_ROUND_CRONJOB_EXPRESSION: config.get(
'UPDATE_POWER_ROUND_CRONJOB_EXPRESSION',
),
});
if (
(config.get('UPDATE_POWER_SNAPSHOT_SERVICE_ACTIVE') as string) === 'true'
) {
Expand Down

0 comments on commit 81501d3

Please sign in to comment.