diff --git a/core/archipelago/src/update.rs b/core/archipelago/src/update.rs index ce9e2021..84768da8 100644 --- a/core/archipelago/src/update.rs +++ b/core/archipelago/src/update.rs @@ -157,7 +157,8 @@ pub async fn download_update(data_dir: &Path) -> Result { .context("Failed to create staging dir")?; let client = reqwest::Client::builder() - .timeout(std::time::Duration::from_secs(300)) + .timeout(std::time::Duration::from_secs(1800)) + .connect_timeout(std::time::Duration::from_secs(30)) .build() .context("Failed to create HTTP client")?; diff --git a/neode-ui/src/views/SystemUpdate.vue b/neode-ui/src/views/SystemUpdate.vue index f7adf433..e15ce108 100644 --- a/neode-ui/src/views/SystemUpdate.vue +++ b/neode-ui/src/views/SystemUpdate.vue @@ -110,10 +110,10 @@
-

{{ t('systemUpdate.percentComplete', { percent: downloadPercent }) }}

+

{{ t('systemUpdate.percentComplete', { percent: downloadPercentFormatted }) }}

@@ -254,6 +254,7 @@ const updateInProgress = ref(false) const statusMessage = ref('') const statusIsError = ref(false) const downloadPercent = ref(0) +const downloadPercentFormatted = computed(() => downloadPercent.value.toFixed(2)) const lastCheckDisplay = computed(() => { if (!lastCheck.value) return t('common.never')