Obsolete
/
ipcd
Archived
3
0
Fork 0

Websocketd now uses float64 timer.

master
Karchnu 2020-06-12 02:03:55 +02:00
parent b3265025cf
commit e86c09d6cb
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ require "./lib_modifications.cr"
service_name = "websocket"
host = "0.0.0.0"
port_to_listen = 1234
timer_delay = 30.to_i64
timer_delay = 30.to_f64
verbosity = 1
@ -37,7 +37,7 @@ OptionParser.parse do |parser|
end
parser.on "-t timer-delay", "--timer-delay timer-delay", "Timer delay (in seconds)" do |t|
timer_delay = t.to_i64
timer_delay = t.to_f64
end
parser.on "-v verbosity-level", "--verbosity level", "Verbosity." do |opt|