pleroma/config
Mark Felder 77dca7c3e5 Refactor ReachabilityWorker to use a 5-phase reachability testing approach
It will check reachability for an instance deemed unreachable at the following intervals:

4 attempts, once a minute
4 attempts, once every 15 minutes
4 attempts, once every 60 minutes
4 attempts, once every 8 hours
4 attempts, once every 24 hours

This should be effective and respectful of the resources of instances on the fediverse.

We have the Oban Pruner plugin enabled to keep the Oban Jobs table from growing indefinitely. It prunes every 15 minutes, but this will interfere with our ability to enforce uniqueness on the ReachabilityWorker jobs for a time period longer than 15 minutes. The solution is to exclude the ReachabilityWorker from the pruning operation and instead schedule a custom job that will prune the table for us once a day. The ReachabilityPruner cron task will clean up the history of the ReachabilityWorker jobs older than 6 days.
2025-06-27 17:00:02 -07:00
..
benchmark.exs Use config to control streamer registry 2024-01-20 18:51:20 -05:00
config.exs Refactor ReachabilityWorker to use a 5-phase reachability testing approach 2025-06-27 17:00:02 -07:00
description.exs Add tos setting 2025-06-20 21:22:27 +00:00
dev.exs Fix compatibility with Loggers in Elixir 1.15+ 2024-06-12 15:18:47 -04:00
docker.exs allow custom db port 2022-11-11 12:22:21 -03:00
dokku.exs Switch from the deprecated "use Mix.config" to "import Config" 2021-05-20 14:02:58 -05:00
emoji.txt Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
prod.exs Set console logs to :info for Elixir 1.15+ 2024-06-19 23:26:12 -04:00
test.exs Merge remote-tracking branch 'origin/develop' into language-detection 2025-03-11 20:38:56 +01:00