diff --git a/src/lavinmq/config.cr b/src/lavinmq/config.cr index 3488ad90de..fabc517d0c 100644 --- a/src/lavinmq/config.cr +++ b/src/lavinmq/config.cr @@ -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