ConnectionCleanupService Constructor

Default constructor. Cleans up stale connections every 5 minutes that have been inactive for more than 30 minutes.

Definition

Namespace: MobileTrack.Receiver
Assembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.8+f6fd7a919db8417bc1e7bfd9b2ff9ab9586e296a
public ConnectionCleanupService(
	IOptionsMonitor<ReceiverOptions> configuration,
	ConcurrentDictionary<Guid, Connection> connections,
	ILogger<ConnectionCleanupService> logger
)

Parameters

configuration  IOptionsMonitorReceiverOptions
Azure App Configuration user
connections  ConcurrentDictionaryGuid, Connection
The established connections
logger  ILoggerConnectionCleanupService
The logger

See Also