public virtual async Task DoWork(object obj) { _log.Debug("Begin DoWork"); var result = await _collectDeviceService.CollectDeviceInfoAsync(); _log.Debug("result :" + result); Console.WriteLine(result); _signalR.SendPerfStatusUpdateToGroups(result); GC.Collect(); }
public virtual async Task DoWork(object obj) { _log.Debug("Begin DoWork"); var result = await _collectDeviceService.CollectDeviceInfoAsync(); OnHandleTimer(_context.ConnectionId, result); #if DEBUG Console.WriteLine(result); #endif GC.Collect(); _log.Debug("End DoWork"); }