Skip to content

Commit

Permalink
crystal tool format
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Aug 18, 2023
1 parent 494f145 commit d355047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lavinmq/config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ module LavinMQ
when "systemd_socket_name" then @amqp_systemd_socket_name = v
when "unix_proxy_protocol" then @unix_proxy_protocol = true?(v) ? 1u8 : v.to_u8? || 0u8
when "tcp_proxy_protocol" then @tcp_proxy_protocol = true?(v) ? 1u8 : v.to_u8? || 0u8
when "min_followers" then @min_followers = v.to_i64
when "max_lag" then @max_lag = v.to_i64
when "min_followers" then @min_followers = v.to_i64
when "max_lag" then @max_lag = v.to_i64
else
STDERR.puts "WARNING: Unrecognized configuration 'amqp/#{config}'"
end
Expand Down

0 comments on commit d355047

Please sign in to comment.