forked from AkkomaGang/akkoma
debug logs on pleroma restart
This commit is contained in:
parent
509c81e4b1
commit
3ecdead31a
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ def handle_cast(:need_reboot, state) do
|
||||||
end
|
end
|
||||||
|
|
||||||
def handle_cast({:restart, :test, _}, state) do
|
def handle_cast({:restart, :test, _}, state) do
|
||||||
Logger.warn("pleroma manually restarted")
|
Logger.debug("pleroma manually restarted")
|
||||||
{:noreply, Map.put(state, :need_reboot?, false)}
|
{:noreply, Map.put(state, :need_reboot?, false)}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ def handle_cast({:restart, _, delay}, state) do
|
||||||
def handle_cast({:after_boot, _}, %{after_boot: true} = state), do: {:noreply, state}
|
def handle_cast({:after_boot, _}, %{after_boot: true} = state), do: {:noreply, state}
|
||||||
|
|
||||||
def handle_cast({:after_boot, :test}, state) do
|
def handle_cast({:after_boot, :test}, state) do
|
||||||
Logger.warn("pleroma restarted after boot")
|
Logger.debug("pleroma restarted after boot")
|
||||||
{:noreply, Map.put(state, :after_boot, true)}
|
{:noreply, Map.put(state, :after_boot, true)}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue