Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
8 additions and
3 deletions
-
CHANGELOG.md
-
apps/api/src/services/cron.service.ts
-
package.json
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
@ -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) |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "ghostfolio", |
|
|
|
"version": "1.252.2", |
|
|
|
"version": "1.253.0", |
|
|
|
"homepage": "https://ghostfol.io", |
|
|
|
"license": "AGPL-3.0", |
|
|
|
"scripts": { |
|
|
|