fix merge error in QueueStatsService
This commit is contained in:
parent
a24df431ee
commit
7ae9c3de60
1 changed files with 1 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue