gun ConnectionPool: replace casts with calls
authorrinpatch <rinpatch@sdf.org>
Tue, 28 Jul 2020 17:49:48 +0000 (20:49 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 28 Jul 2020 17:49:48 +0000 (20:49 +0300)
commit4ce6179dc7843d99823cf41be86574973b66200f
tree88fa032c716fc002bd60a5365a0ca6c3bbc45585
parent165ea038bd7a057ce137cc6a7a3deee7c98753de
gun ConnectionPool: replace casts with calls

The slowdown from this is most likely immesurable, however it eliminates
possible false positives when tracking dead clients.
lib/pleroma/gun/connection_pool.ex
lib/pleroma/gun/connection_pool/worker.ex