mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-27 02:02:10 +01:00
killDeadClients
This commit is contained in:
parent
faac9ccfea
commit
4da96c6b68
@ -20,7 +20,7 @@ export class ClientService {
|
||||
|
||||
|
||||
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({
|
||||
deletedAt: IsNull(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user