killDeadClients

This commit is contained in:
Ben Wilson 2023-08-06 13:30:28 -04:00
parent 5d2fd5a97c
commit 413187f4e3

View File

@ -38,9 +38,6 @@ export class AppService implements OnModuleInit {
@Cron(CronExpression.EVERY_10_MINUTES)
private async killDeadClients() {
if (process.env.NODE_APP_INSTANCE == null || process.env.NODE_APP_INSTANCE == '0') {
await this.clientService.killDeadClients();
}
await this.clientService.killDeadClients();
}
}