Skip to content

Commit

Permalink
Merge pull request #131 from ujihisa/patch-1
Browse files Browse the repository at this point in the history
README.md: Bugfix in the sample code
  • Loading branch information
bitwalker authored Oct 28, 2019
2 parents 57b77e3 + 21dd0ba commit 4aee63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ defmodule MyApp.Worker do
# - `:ignore`, to leave the process running on its current node
#
def handle_call({:swarm, :begin_handoff}, _from, {name, delay}) do
{:reply, {:resume, delay}, {name, delay}}
{:reply, {:resume, {name, delay}}, {name, delay}}
end
# called after the process has been restarted on its new node,
# and the old process' state is being handed off. This is only
Expand Down

0 comments on commit 4aee63d

Please sign in to comment.