Timer added in the Crystal pongd.
parent
04b2aadaa6
commit
9da79fbd15
|
@ -26,6 +26,8 @@ OptionParser.parse do |parser|
|
|||
end
|
||||
|
||||
service = IPC::Server.new (service_name)
|
||||
service.base_timer = 5000 # 5 seconds
|
||||
service.timer = 5000 # 5 seconds
|
||||
|
||||
service.loop do |event|
|
||||
case event
|
||||
|
|
Loading…
Reference in New Issue