increase timeout (#518)

because of several issues

fix #514
This commit is contained in:
Matthias Pfefferle 2023-10-16 19:04:21 +02:00 committed by GitHub
parent c10c52dafc
commit 7d96f67cb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 );