Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Release 1.253.0 (#1854)

Thomas Kaul4451514ec5ea
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 20eb4e6a88..5402edd4b2 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 8b036c35ec..3b592d176a 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 0bbab1ec52..457bbb63f0 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": {