Increase fetcher timeout to 15 seconds when processing search queries
This commit is contained in:
parent
278950252e
commit
01494f1770
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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<String>),
|
||||
|
|
Loading…
Reference in a new issue