Skip to content

Commit

Permalink
Update src/lavinmq/mqtt/broker.cr
Browse files Browse the repository at this point in the history
Co-authored-by: Carl Hörberg <[email protected]>
  • Loading branch information
kickster97 and carlhoerberg authored Jan 24, 2025
1 parent 01edef9 commit 7208650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lavinmq/mqtt/broker.cr
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module LavinMQ
def initialize(@vhost : VHost, @replicator : Clustering::Replicator)
@sessions = Sessions.new(@vhost)
@clients = Hash(String, Client).new
@retain_store = RetainStore.new(File.join(@vhost.data_dir, "mqtt_reatined_store"), @replicator)
@retain_store = RetainStore.new(File.join(@vhost.data_dir, "mqtt_retained_store"), @replicator)
@exchange = MQTT::Exchange.new(@vhost, EXCHANGE, @retain_store)
@vhost.exchanges[EXCHANGE] = @exchange
end
Expand Down

0 comments on commit 7208650

Please sign in to comment.