Skip to content

Commit e8d1eab

Browse files
rubysolomaennchen
andauthored
improve log message (#465)
Co-authored-by: Jonatan Männchen <[email protected]>
1 parent d875242 commit e8d1eab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/quantum/clock_broadcaster.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,18 @@ defmodule Quantum.ClockBroadcaster do
107107
new_remaining_demand = remaining_demand - Enum.count(events)
108108

109109
if remaining_demand > 0 and new_remaining_demand == 0 do
110-
log_catched_up(state)
110+
log_caught_up(state)
111111
end
112112

113113
{:noreply, events, %State{state | time: new_time, remaining_demand: new_remaining_demand}}
114114
end
115115

116-
defp log_catched_up(%State{debug_logging: false}), do: :ok
116+
defp log_caught_up(%State{debug_logging: false}), do: :ok
117117

118-
defp log_catched_up(%State{debug_logging: true}),
118+
defp log_caught_up(%State{debug_logging: true}),
119119
do:
120120
Logger.debug(fn ->
121-
{"Clock Producer catched up with past times and is now running in normal time",
121+
{"Clock Producer caught up with past times and is now running in normal time",
122122
node: Node.self()}
123123
end)
124124
end

0 commit comments

Comments
 (0)