Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Jan 2, 2025
1 parent d1e3c2a commit 66aa10f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/lavinmq/config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ module LavinMQ
property? set_timestamp = false # in message headers when receive
property socket_buffer_size = 16384 # bytes
property? tcp_nodelay = false # bool
property max_inflight_messages : UInt16 = 65_535
property segment_size : Int32 = 8 * 1024**2 # bytes
property max_inflight_messages : UInt16 = 65_535
property? raise_gc_warn : Bool = false
Expand Down
2 changes: 1 addition & 1 deletion src/lavinmq/server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module LavinMQ
@parameters = ParameterStore(Parameter).new(@data_dir, "parameters.json", @replicator)
@connection_factories = {
Protocol::AMQP => AMQP::ConnectionFactory.new(@users, @vhosts),
Protocol::MQTT => MQTT::ConnectionFactory.new(@users, @brokers)
Protocol::MQTT => MQTT::ConnectionFactory.new(@users, @brokers),
}
apply_parameter
spawn stats_loop, name: "Server#stats_loop"
Expand Down

0 comments on commit 66aa10f

Please sign in to comment.