diff options
Diffstat (limited to 'lib/mix/tasks')
| -rw-r--r-- | lib/mix/tasks/relay_follow.ex | 3 | ||||
| -rw-r--r-- | lib/mix/tasks/relay_unfollow.ex | 3 | 
2 files changed, 6 insertions, 0 deletions
| diff --git a/lib/mix/tasks/relay_follow.ex b/lib/mix/tasks/relay_follow.ex index a8152d96f..ac6f20924 100644 --- a/lib/mix/tasks/relay_follow.ex +++ b/lib/mix/tasks/relay_follow.ex @@ -8,5 +8,8 @@ defmodule Mix.Tasks.RelayFollow do      Mix.Task.run("app.start")      :ok = Relay.follow(target) + +    # put this task to sleep to allow the genserver to push out the messages +    :timer.sleep(500)    end  end diff --git a/lib/mix/tasks/relay_unfollow.ex b/lib/mix/tasks/relay_unfollow.ex index 81b7197b2..4621ace83 100644 --- a/lib/mix/tasks/relay_unfollow.ex +++ b/lib/mix/tasks/relay_unfollow.ex @@ -8,5 +8,8 @@ defmodule Mix.Tasks.RelayUnfollow do      Mix.Task.run("app.start")      :ok = Relay.unfollow(target) + +    # put this task to sleep to allow the genserver to push out the messages +    :timer.sleep(500)    end  end | 
