projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
open conn in separate task
[akkoma]
/
lib
/
pleroma
/
gun
/
gun.ex
diff --git
a/lib/pleroma/gun/gun.ex
b/lib/pleroma/gun/gun.ex
index 4a1bbc95f6f9156dd4e39c52a5c6d22da59d24a3..da82983b1eed79db5c31f163956b4365e9e4571a 100644
(file)
--- a/
lib/pleroma/gun/gun.ex
+++ b/
lib/pleroma/gun/gun.ex
@@
-32,7
+32,7
@@
defmodule Pleroma.Gun do
defdelegate close(pid), to: :gun
@impl API
defdelegate close(pid), to: :gun
@impl API
- defdelegate await_up(pid), to: :gun
+ defdelegate await_up(pid
, timeout \\ 5_000
), to: :gun
@impl API
defdelegate connect(pid, opts), to: :gun
@impl API
defdelegate connect(pid, opts), to: :gun
@@
-42,4
+42,7
@@
defmodule Pleroma.Gun do
@spec flush(pid() | reference()) :: :ok
defdelegate flush(pid), to: :gun
@spec flush(pid() | reference()) :: :ok
defdelegate flush(pid), to: :gun
+
+ @impl API
+ defdelegate set_owner(pid, owner), to: :gun
end
end