Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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");
        }