diff --git a/CHANGELOG.md b/CHANGELOG.md index 20eb4e6a8..5402edd4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## 1.253.0 - 2023-04-14 + +### Changed + +- Reduced the execution interval of the data gathering to every 12 hours ### Fixed diff --git a/apps/api/src/services/cron.service.ts b/apps/api/src/services/cron.service.ts index 8b036c35e..3b592d176 100644 --- a/apps/api/src/services/cron.service.ts +++ b/apps/api/src/services/cron.service.ts @@ -21,12 +21,13 @@ export class CronService { @Cron(CronExpression.EVERY_4_HOURS) public async runEveryFourHours() { - await this.dataGatheringService.gather7Days(); + // await this.dataGatheringService.gather7Days(); } @Cron(CronExpression.EVERY_12_HOURS) public async runEveryTwelveHours() { await this.exchangeRateDataService.loadCurrencies(); + await this.dataGatheringService.gather7Days(); } @Cron(CronExpression.EVERY_DAY_AT_5PM) diff --git a/package.json b/package.json index 0bbab1ec5..457bbb63f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.252.2", + "version": "1.253.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {