Timer added in the Crystal pongd.

This commit is contained in:
Karchnu 2020-07-03 23:59:38 +02:00
parent 04b2aadaa6
commit 9da79fbd15

View File

@ -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