mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
killDeadClients
This commit is contained in:
@@ -20,7 +20,7 @@ export class ClientService {
|
|||||||
|
|
||||||
|
|
||||||
public async killDeadClients() {
|
public async killDeadClients() {
|
||||||
var tenMinutes = new Date(new Date().getTime() - (60 * 60 * 1000));
|
var tenMinutes = new Date(new Date().getTime() - (10 * 60 * 1000));
|
||||||
|
|
||||||
return await this.clientRepository.update({
|
return await this.clientRepository.update({
|
||||||
deletedAt: IsNull(),
|
deletedAt: IsNull(),
|
||||||
|
|||||||
Reference in New Issue
Block a user