Skip to content

Commit

Permalink
add iter after unexpected
Browse files Browse the repository at this point in the history
  • Loading branch information
nunsez committed Mar 4, 2023
1 parent 7fe5b3c commit 59af936
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/kaize_votes/worker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ defmodule KaizeVotes.Worker do

new_state = %{state | proposals: rest}

Process.send_after(self(), :iter, Timeout.before_next())

{:noreply, new_state}
end
end
Expand Down

0 comments on commit 59af936

Please sign in to comment.