lemmy/src
Richard Schwab 2c57f42022
Relax timeout for sending activities (#4864)
* Relax timeout for sending activities

Lemmy considers timeouts during activity sending as retryable errors.
While it is frequently enough to retry sending the same activity again after
the original submission attempt resulted in a timeout, allowing the receiving
side to use more time for synchronous processing should reduce the number of
retries needed overall and improve overall compatibility.

Some ActivityPub software, such as Mastodon, implements a queue for processing
received activities asynchronously, which allows immediately returning a
response for activity submissions. Other software, such as Lemmy or Hubzilla
implement synchronous processing of activities before returning a response.

ActivityPub does not specify specific timeouts to be used:
https://github.com/w3c/activitypub/issues/365

* Simplify usage of federation_sender_config Option
2024-07-02 09:30:13 -04:00
..
api_routes_http.rs Configure max comment width in clippy (#4738) 2024-05-23 08:46:26 -04:00
code_migrations.rs Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
lib.rs Relax timeout for sending activities (#4864) 2024-07-02 09:30:13 -04:00
main.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
prometheus_metrics.rs Include prometheus in default build, remove build feature (fixes #3558) (#4071) 2023-10-25 06:54:58 -04:00
root_span_builder.rs Fixing proxied images for federated posts. (#4737) 2024-05-23 11:11:25 -04:00
scheduled_tasks.rs Clean up build_update_instance_form in scheduled_tasks.rs (#4775) 2024-06-04 08:04:16 -04:00
session_middleware.rs Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
telemetry.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00