diff --git a/CHANGELOG.md b/CHANGELOG.md index 16e0dc4..faaf6a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Process incoming `Move()` activities in background. - Allow custom emojis with `image/webp` media type. - Increase object ID size limit to 2000 chars. +- Increase fetcher timeout to 15 seconds when processing search queries. ### Fixed diff --git a/src/mastodon_api/search/helpers.rs b/src/mastodon_api/search/helpers.rs index ee3e167..b5c36b6 100644 --- a/src/mastodon_api/search/helpers.rs +++ b/src/mastodon_api/search/helpers.rs @@ -41,7 +41,7 @@ use crate::ethereum::utils::validate_ethereum_address; use crate::media::MediaStorage; use crate::webfinger::types::ActorAddress; -const SEARCH_FETCHER_TIMEOUT: u64 = 5; +const SEARCH_FETCHER_TIMEOUT: u64 = 15; enum SearchQuery { ProfileQuery(String, Option),