protected void MessageClearScanTimerProc(object sender) { try { int startTick = Environment.TickCount; ThreadPriority oldprio = Thread.CurrentThread.Priority; Thread.CurrentThread.Priority = ThreadPriority.Lowest; MessageMgr.RemoveMessageRecord(); Thread.CurrentThread.Priority = oldprio; startTick = Environment.TickCount - startTick; if (startTick > 120000) { } } catch (Exception e) { //if (GameServer.log.IsErrorEnabled) { GameServer.log.Error("MessageClearScanTimerProc", e); } } }