Browse Source
Bugfix/change intraday data gathering to operate synchronously (#2705)
* Change intraday data gathering to operate synchronously
* Update changelog
pull/2704/head^2
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/data-provider.service.ts
|
@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
- Respected the `withExcludedAccounts` flag in the account balance time series |
|
|
- Respected the `withExcludedAccounts` flag in the account balance time series |
|
|
|
|
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
|
|
- Changed the mechanism of the `INTRADAY` data gathering to operate synchronously avoiding database deadlocks |
|
|
|
|
|
|
|
|
## 2.27.1 - 2023-11-28 |
|
|
## 2.27.1 - 2023-11-28 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
@ -346,7 +346,7 @@ export class DataProviderService { |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
this.marketDataService.updateMany({ |
|
|
await this.marketDataService.updateMany({ |
|
|
data: Object.keys(response) |
|
|
data: Object.keys(response) |
|
|
.filter((symbol) => { |
|
|
.filter((symbol) => { |
|
|
return ( |
|
|
return ( |
|
|