Skip to content

Commit ecc8a70

Browse files
committed
Fix typo
1 parent 8c7db3d commit ecc8a70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/osiris_retention.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
terminate/2,
2121
code_change/3]).
2222

23-
-define(DEFAULT_SHEDULED_EVAL_TIME, 1000 * 60 * 60). %% 1HR
23+
-define(DEFAULT_SCHEDULED_EVAL_TIME, 1000 * 60 * 60). %% 1HR
2424

2525
-record(state, {scheduled = #{} :: #{osiris:name() => timer:tref()}}).
2626

@@ -111,7 +111,7 @@ schedule({eval, _Pid, Name, _Dir, Specs, _Fun} = Eval,
111111
NumSegmentRemaining > 1 of
112112
true ->
113113
EvalInterval = application:get_env(osiris, retention_eval_interval,
114-
?DEFAULT_SHEDULED_EVAL_TIME),
114+
?DEFAULT_SCHEDULED_EVAL_TIME),
115115
Ref = erlang:send_after(EvalInterval, self(), {'$gen_cast', Eval}),
116116
State#state{scheduled = Scheduled#{Name => Ref}};
117117
false ->

0 commit comments

Comments
 (0)