Mild adjustments
This commit is contained in:
@@ -13,7 +13,8 @@ defmodule NeonVertigoService.Mqtt.Server do
|
||||
{:ok, %MqttServer{}, {:continue, :post_init}}
|
||||
end
|
||||
|
||||
# Callbacks
|
||||
# == Callbacks ==
|
||||
|
||||
def handle_continue(:post_init, %MqttServer{} = state) do
|
||||
mqtt_config = Application.fetch_env!(:neon_vertigo_service, :mqtt_params)
|
||||
{:ok, mqtt_pid} = Supervisor.start_child(
|
||||
|
||||
Reference in New Issue
Block a user