Removing configuration clutter.
This commit is contained in:
parent
1deee0f7f1
commit
640284c067
@ -29,21 +29,7 @@ class Context
|
||||
end
|
||||
|
||||
class Baguette::Configuration
|
||||
class Websocketc < Base
|
||||
property verbosity : Int32 = 2
|
||||
|
||||
property ipc_timer : Int32 = 30_000
|
||||
|
||||
property print_ipc_timer : Bool = false
|
||||
property print_ipc_connection : Bool = false
|
||||
property print_ipc_disconnection : Bool = false
|
||||
property print_ipc_extra_socket : Bool = false
|
||||
property print_ipc_message_received : Bool = false
|
||||
property print_ipc_message_sent : Bool = false
|
||||
property print_ipc_switch : Bool = false
|
||||
|
||||
def initialize
|
||||
end
|
||||
class Websocketc < IPC
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -29,21 +29,14 @@ class Tracking::Request
|
||||
end
|
||||
|
||||
class Baguette::Configuration
|
||||
class Websocket < Base
|
||||
class Websocket < IPC
|
||||
# service instance parameters
|
||||
# they can be changed via the cli
|
||||
property service_name : String = "websocket"
|
||||
property host : String = "0.0.0.0"
|
||||
property port : UInt16 = 1234
|
||||
|
||||
property ipc_timer : Int32 = 30_000.to_i32
|
||||
property print_messages : Bool = false
|
||||
property print_ipc_timer : Bool = false
|
||||
|
||||
property verbosity : Int32 = 3
|
||||
|
||||
def initialize
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user