fix merge error in QueueStatsService

This commit is contained in:
Hazelnoot 2025-09-16 12:10:15 -04:00
parent a24df431ee
commit 7ae9c3de60

View file

@ -138,7 +138,7 @@ export class QueueStatsService implements OnApplicationShutdown {
}
@bindThis
public async stop(): void {
public async stop(): Promise<void> {
if (this.intervalId) {
this.timeService.stopTimer(this.intervalId);
}
@ -159,11 +159,6 @@ export class QueueStatsService implements OnApplicationShutdown {
this.activeBackgroundJobs = 0;
}
@bindThis
public async dispose(): void {
await this.stop();
}
@bindThis
public async dispose() {
await this.stop();