ConnectionRepo.DeleteZombies Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

DeleteZombies(int)

Delete zombie connections that haven't been updated in threshold seconds.

public static int DeleteZombies(int threshold)

Parameters

threshold
int

The number of seconds that have to pass to consider a connection dead.

Returns

int

The number of deleted connections.