Skip to content

Commit

Permalink
dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnilsson committed Apr 22, 2024
1 parent 7bd50da commit 7d45ff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ra_log.erl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
% index specified
cache = ra_log_cache:init() :: ra_log_cache:state(),
last_resend_time :: option({integer(), WalPid :: pid() | undefined}),
last_wal_write :: {pid(), Ms :: ra_machine:milliseconds()},
last_wal_write :: {pid(), Ms :: integer()},
reader :: ra_log_reader:state(),
readers = [] :: [pid()]
}).
Expand Down
2 changes: 1 addition & 1 deletion src/ra_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ tick(#{cfg := #cfg{effective_machine_module = MacMod},
Now = erlang:system_time(millisecond),
ra_machine:tick(MacMod, Now, MacState).

-spec log_tick(ra_server_state()) -> effects().
-spec log_tick(ra_server_state()) -> ra_server_state().
log_tick(#{cfg := #cfg{},
log := Log0} = State) ->
Now = erlang:system_time(millisecond),
Expand Down

0 comments on commit 7d45ff0

Please sign in to comment.