Increase timeout for fetching repository metadata

Signed-off-by: Trivernis <trivernis@protonmail.com>
pull/4/head
Trivernis 3 years ago
parent 33ceb24972
commit d7e12ebff7

@ -28,7 +28,7 @@ impl RepoApi {
/// Returns metadata about the repository /// Returns metadata about the repository
#[tracing::instrument(level = "debug", skip(self))] #[tracing::instrument(level = "debug", skip(self))]
pub async fn get_repo_metadata(&self) -> ApiResult<RepositoryMetadata> { pub async fn get_repo_metadata(&self) -> ApiResult<RepositoryMetadata> {
let metadata = self.emit_and_get("repository_metadata", (), Some(Duration::from_secs(2))).await?; let metadata = self.emit_and_get("repository_metadata", (), Some(Duration::from_secs(30))).await?;
Ok(metadata) Ok(metadata)
} }

Loading…
Cancel
Save