예제 #1
0
 public void SetMinerSign(MinerSign minerSign)
 {
     _dicByClientId[minerSign.ClientId] = minerSign;
     _redis.UpdateAsync(minerSign);
     lock (_lockForMinerSignsSeted) {
         _minerSignsSeted.Add(minerSign);
     }
 }
예제 #2
0
 public void SetMinerSign(MinerSign minerSign)
 {
     _dicByClientId[minerSign.ClientId] = minerSign;
     _redis.UpdateAsync(minerSign);
     AppRoot.MinerClientMqSender.SendMinerSignSeted(minerSign);
 }