projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sample config: add S3 public endpoint option
[akkoma]
/
lib
/
mix
/
tasks
/
relay_follow.ex
diff --git
a/lib/mix/tasks/relay_follow.ex
b/lib/mix/tasks/relay_follow.ex
index a8152d96fcad3732d33c5746b98351dac9e820a9..ac6f209241a4c2f83cd07d0fd261a250529d2e0a 100644
(file)
--- 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