mastodon4j icon indicating copy to clipboard operation
mastodon4j copied to clipboard

MastodonClient stuck on 127.0.0.1

Open egothor opened this issue 6 years ago • 0 comments

MastodonClient (or OkHttp) does not release its connection to 127.0.0.1:443 and waits until some timeout passes. It is a pain, because I run short transactions only and my application must wait 1-2 minutes for nothing.

Would it be possible to shutdown MastodonClient and/or OkHttp pool somehow? There is not a respective method in MastodonClient.

egothor avatar Feb 18 '19 20:02 egothor