Skip to content

Commit

Permalink
ghac: wait 30 secs until the first sync
Browse files Browse the repository at this point in the history
fixes #175
  • Loading branch information
verbit committed Aug 12, 2024
1 parent 1d33f03 commit d84b0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/virtuerl_ghac/src/virtuerl_ghac.erl
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ handle_continue(ensure_net, {}) ->
_ -> error
end,

self() ! sync,
{noreply, {NetId}, {continue, ensure_base}};
handle_continue(ensure_base, {NetId} = State) ->
ok = case lists:filter(fun(ImgName) -> string:equal(ImgName, "actions-base.qcow2") end, virtuerl_img:list_images()) of
Expand Down Expand Up @@ -230,6 +229,7 @@ handle_continue(ensure_base, {NetId} = State) ->
Res;
_ -> error
end,
erlang:send_after(30 * 1000, self(), sync),

{noreply, State}.

Expand Down

0 comments on commit d84b0ef

Please sign in to comment.