Browse Source
Merge branch 'main' into task/decrease-rate-limiter-duration-of-market-data-gathering-queue
pull/7129/head
Thomas Kaul
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
12 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/services/queues/data-gathering/data-gathering.module.ts
-
apps/client/src/app/components/user-account-settings/user-account-settings.component.ts
-
apps/client/src/app/components/user-account-settings/user-account-settings.html
|
|
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
### Added |
|
|
### Added |
|
|
|
|
|
|
|
|
|
|
|
- Extended the user account settings with a copy-to-clipboard button for the user id |
|
|
- Added pagination to the platform management of the admin control panel |
|
|
- Added pagination to the platform management of the admin control panel |
|
|
- Added pagination to the tag management of the admin control panel |
|
|
- Added pagination to the tag management of the admin control panel |
|
|
- Extended the asset profile details dialog of the admin control panel with a copy-to-clipboard button for the ISIN number |
|
|
- Extended the asset profile details dialog of the admin control panel with a copy-to-clipboard button for the ISIN number |
|
|
@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
|
|
|
- Improved the throughput of the market data gathering queue by applying the rate limit per data source |
|
|
- Decreased the rate limiter duration of the market data gathering queue jobs from 4 to 3 seconds |
|
|
- Decreased the rate limiter duration of the market data gathering queue jobs from 4 to 3 seconds |
|
|
|
|
|
|
|
|
### Fixed |
|
|
### Fixed |
|
|
|
|
|
@ -29,6 +29,7 @@ import { DataGatheringProcessor } from './data-gathering.processor'; |
|
|
BullModule.registerQueue({ |
|
|
BullModule.registerQueue({ |
|
|
limiter: { |
|
|
limiter: { |
|
|
duration: ms('3 seconds'), |
|
|
duration: ms('3 seconds'), |
|
|
|
|
|
groupKey: 'dataSource', |
|
|
max: 1 |
|
|
max: 1 |
|
|
}, |
|
|
}, |
|
|
name: DATA_GATHERING_QUEUE |
|
|
name: DATA_GATHERING_QUEUE |
|
|
|
|
|
@ -12,6 +12,7 @@ import { hasPermission, permissions } from '@ghostfolio/common/permissions'; |
|
|
import { internalRoutes } from '@ghostfolio/common/routes/routes'; |
|
|
import { internalRoutes } from '@ghostfolio/common/routes/routes'; |
|
|
import { NotificationService } from '@ghostfolio/ui/notifications'; |
|
|
import { NotificationService } from '@ghostfolio/ui/notifications'; |
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
|
|
|
import { GfValueComponent } from '@ghostfolio/ui/value'; |
|
|
|
|
|
|
|
|
import { |
|
|
import { |
|
|
ChangeDetectionStrategy, |
|
|
ChangeDetectionStrategy, |
|
|
@ -51,6 +52,7 @@ import { catchError } from 'rxjs/operators'; |
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
imports: [ |
|
|
imports: [ |
|
|
FormsModule, |
|
|
FormsModule, |
|
|
|
|
|
GfValueComponent, |
|
|
IonIcon, |
|
|
IonIcon, |
|
|
MatButtonModule, |
|
|
MatButtonModule, |
|
|
MatCardModule, |
|
|
MatCardModule, |
|
|
|
|
|
@ -260,7 +260,13 @@ |
|
|
<div class="pr-1 w-50"> |
|
|
<div class="pr-1 w-50"> |
|
|
Ghostfolio <ng-container i18n>User ID</ng-container> |
|
|
Ghostfolio <ng-container i18n>User ID</ng-container> |
|
|
</div> |
|
|
</div> |
|
|
<div class="pl-1 text-monospace w-50">{{ user?.id }}</div> |
|
|
<div class="pl-1 w-50"> |
|
|
|
|
|
<gf-value |
|
|
|
|
|
class="text-monospace" |
|
|
|
|
|
[enableCopyToClipboardButton]="true" |
|
|
|
|
|
[value]="user?.id" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="align-items-center d-flex py-1"> |
|
|
<div class="align-items-center d-flex py-1"> |
|
|
<div class="pr-1 w-50"></div> |
|
|
<div class="pr-1 w-50"></div> |
|
|
|