From d7e12ebff7de1f1a81d8f843acd7d60721fa082c Mon Sep 17 00:00:00 2001 From: Trivernis Date: Mon, 27 Dec 2021 19:11:58 +0100 Subject: [PATCH] Increase timeout for fetching repository metadata Signed-off-by: Trivernis --- mediarepo-api/src/client_api/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediarepo-api/src/client_api/repo.rs b/mediarepo-api/src/client_api/repo.rs index 6abd233..1cb17d0 100644 --- a/mediarepo-api/src/client_api/repo.rs +++ b/mediarepo-api/src/client_api/repo.rs @@ -28,7 +28,7 @@ impl RepoApi { /// Returns metadata about the repository #[tracing::instrument(level = "debug", skip(self))] pub async fn get_repo_metadata(&self) -> ApiResult { - 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) }