Пример #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();
        }
Пример #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");
        }