From 1e54bf6ff2c5028b07d37d3170695272787184c3 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Mon, 2 Dec 2024 19:55:34 -0800 Subject: [PATCH] rm allow_synchronous_requests param, since it always needs to be true --- app/services/activitypub/fetch_all_replies_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/activitypub/fetch_all_replies_service.rb b/app/services/activitypub/fetch_all_replies_service.rb index 807b489938..34b5408c1c 100644 --- a/app/services/activitypub/fetch_all_replies_service.rb +++ b/app/services/activitypub/fetch_all_replies_service.rb @@ -6,8 +6,8 @@ class ActivityPub::FetchAllRepliesService < ActivityPub::FetchRepliesService # Limit of replies to fetch per status MAX_REPLIES = (ENV['FETCH_REPLIES_MAX_SINGLE'] || 500).to_i - def call(collection_or_uri, max_pages = nil, allow_synchronous_requests: true, request_id: nil) - @allow_synchronous_requests = allow_synchronous_requests + def call(collection_or_uri, max_pages = nil, request_id: nil) + @allow_synchronous_requests = true @filter_by_host = false @collection_or_uri = collection_or_uri