🛠️ New #Akkoma feature Those who like me run Akkoma on home networks may have e...

@fabio@manganiello.eu

🛠️ New #Akkoma feature

Those who like me run Akkoma on home networks may have experienced timeouts when searching for posts by (Mastodon) URL.

That’s because searching #ActivityPub elements using non-canonical URLs involves a bit of back and forth over HTTP, and for some reason Akkoma had a hardcoded value of 5 seconds for it - which means that many if not all the searches by Mastodon post URL failed, and the search task also crashed.

This PR adds support for a configurable fetch timeout:

# Set it to e.g. 15 seconds to allow the HTTP task
# more time to fetch remote resources
config :pleroma, Pleroma.Search, fetch_timeout: 15_000

If you want to try it out already (together with other features, such as support for Mastodon the quotes protocol and indexable flag on accounts), you can build Akkoma from my fork.