Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/exsync/application.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require Logger

defmodule ExSync.Application do
def start(_, _) do
children =
Expand Down
4 changes: 2 additions & 2 deletions lib/exsync/beam_monitor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ defmodule ExSync.BeamMonitor do

defp track_module_change(:nothing, _module, state), do: state

defp track_module_change(:reload_module, module, state) do
defp track_module_change(:reload_module, module, %State{} = state) do
%State{reload_set: reload_set, unload_set: unload_set} = state

%State{
Expand All @@ -106,7 +106,7 @@ defmodule ExSync.BeamMonitor do
}
end

defp track_module_change(:unload_module, module, state) do
defp track_module_change(:unload_module, module, %State{} = state) do
%State{reload_set: reload_set, unload_set: unload_set} = state

%State{
Expand Down
2 changes: 1 addition & 1 deletion lib/exsync/src_monitor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defmodule ExSync.SrcMonitor do
{:noreply, state}
end

def handle_info(:throttle_timer_complete, state) do
def handle_info(:throttle_timer_complete, %State{} = state) do
ExSync.Utils.recomplete()
state = %State{state | throttle_timer: nil}
{:noreply, state}
Expand Down