Skip to content

Commit

Permalink
back to default timerSleep
Browse files Browse the repository at this point in the history
  • Loading branch information
BrillliantZ committed Dec 9, 2017
1 parent 41b69fc commit 951463a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vnTrader/eventEngine.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __init__(self):
# 计时器,用于触发计时器事件
self.__timer = Thread(target=self.__runTimer)
self.__timerActive = False # 计时器工作状态
self.__timerSleep = 2.5 # 计时器触发间隔(默认1秒)
self.__timerSleep = 1 # 计时器触发间隔(默认1秒)

# 这里的__handlers是一个字典,用来保存对应的事件调用关系
# 其中每个键对应的值是一个列表,列表中保存了对该事件进行监听的函数功能
Expand Down

0 comments on commit 951463a

Please sign in to comment.