From 7d96f67cb2cd226d5025ca329b15507330a0721a Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Mon, 16 Oct 2023 19:04:21 +0200 Subject: [PATCH] increase timeout (#518) because of several issues fix #514 --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index d5cd9f6..883cd3f 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -79,7 +79,7 @@ function get_remote_metadata_by_actor( $actor, $cached = true ) { } $short_timeout = function() { - return 3; + return 10; }; add_filter( 'activitypub_remote_get_timeout', $short_timeout ); $response = Http::get( $actor );