mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化时间轮tick时间间隔
This commit is contained in:
@@ -35,7 +35,7 @@ func init(){
|
||||
|
||||
//定时器运行与驱动
|
||||
func timerRunning(){
|
||||
t := time.NewTicker(time.Microsecond*5)
|
||||
t := time.NewTicker(time.Millisecond*10)
|
||||
for {
|
||||
/* if test == true {
|
||||
testTimerRunning()
|
||||
|
||||
Reference in New Issue
Block a user