Feature/reduce data gathering interval to every four hours (#1611)
* Reduce execution interval * Update changelog
This commit is contained in:
parent
2beceb36cf
commit
4865c45fd4
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Improved the date formatting in the tooltip of the dividend timeline grouped by month / year
|
- Improved the date formatting in the tooltip of the dividend timeline grouped by month / year
|
||||||
- Improved the date formatting in the tooltip of the investment timeline grouped by month / year
|
- Improved the date formatting in the tooltip of the investment timeline grouped by month / year
|
||||||
|
- Reduced the execution interval of the data gathering to every 4 hours
|
||||||
|
|
||||||
## 1.227.1 - 2023-01-14
|
## 1.227.1 - 2023-01-14
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ export class CronService {
|
|||||||
private readonly twitterBotService: TwitterBotService
|
private readonly twitterBotService: TwitterBotService
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
@Cron(CronExpression.EVERY_HOUR)
|
@Cron(CronExpression.EVERY_4_HOURS)
|
||||||
public async runEveryHour() {
|
public async runEveryFourHours() {
|
||||||
await this.dataGatheringService.gather7Days();
|
await this.dataGatheringService.gather7Days();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user