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
parent
commit
cc845d2300
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 1
      apps/api/src/services/queues/data-gathering/data-gathering.module.ts
  3. 2
      apps/client/src/app/components/user-account-settings/user-account-settings.component.ts
  4. 8
      apps/client/src/app/components/user-account-settings/user-account-settings.html

2
CHANGELOG.md

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### 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 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
@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### 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
### Fixed

1
apps/api/src/services/queues/data-gathering/data-gathering.module.ts

@ -29,6 +29,7 @@ import { DataGatheringProcessor } from './data-gathering.processor';
BullModule.registerQueue({
limiter: {
duration: ms('3 seconds'),
groupKey: 'dataSource',
max: 1
},
name: DATA_GATHERING_QUEUE

2
apps/client/src/app/components/user-account-settings/user-account-settings.component.ts

@ -12,6 +12,7 @@ import { hasPermission, permissions } from '@ghostfolio/common/permissions';
import { internalRoutes } from '@ghostfolio/common/routes/routes';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { DataService } from '@ghostfolio/ui/services';
import { GfValueComponent } from '@ghostfolio/ui/value';
import {
ChangeDetectionStrategy,
@ -51,6 +52,7 @@ import { catchError } from 'rxjs/operators';
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
FormsModule,
GfValueComponent,
IonIcon,
MatButtonModule,
MatCardModule,

8
apps/client/src/app/components/user-account-settings/user-account-settings.html

@ -260,7 +260,13 @@
<div class="pr-1 w-50">
Ghostfolio <ng-container i18n>User ID</ng-container>
</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 class="align-items-center d-flex py-1">
<div class="pr-1 w-50"></div>

Loading…
Cancel
Save