OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use throttleTime to send event on leading edge
Oliver Günther1840293eabb4
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.ts b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.tsindex 723a42f91f6..3aa64664ecd 100644--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.ts@@ -37,7 +37,7 @@ import {ViewChild,} from '@angular/core';import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource';-import { debounceTime, filter } from 'rxjs/operators';+import { filter, throttleTime } from 'rxjs/operators';import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin';import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';import { WorkPackageRelationsService } from './wp-relations.service';@@ -87,7 +87,7 @@ export class WorkPackageRelationsComponent extends UntilDestroyedMixin implement.events$.pipe(filter((e) => e.eventType === 'association' || e.eventType === 'updated'),- debounceTime(500),+ throttleTime(1000),this.untilDestroyed(),).subscribe(() => {