diff --git a/.buildkite/emscripten.yml b/.buildkite/emscripten.yml --- a/.buildkite/emscripten.yml +++ b/.buildkite/emscripten.yml @@ -1,8 +1,8 @@ steps: - - label: 'Emscripten build' + - label: 'Emscripten and Wasmpack build' command: - 'cd web' - - 'nix develop --accept-flake-config --command yarn build-db-wasm' + - 'nix develop --accept-flake-config --command "yarn build-db-wasm && yarn build-backup-client-wasm"' - 'git diff --exit-code' retry: automatic: true diff --git a/shared/backup_client/src/lib.rs b/shared/backup_client/src/lib.rs --- a/shared/backup_client/src/lib.rs +++ b/shared/backup_client/src/lib.rs @@ -22,7 +22,7 @@ }; const LOG_DOWNLOAD_RETRY_DELAY: Duration = Duration::from_secs(5); -const LOG_DOWNLOAD_MAX_RETRY: usize = 3; +const LOG_DOWNLOAD_MAX_RETRY: usize = 5; #[cfg(target_arch = "wasm32")] use wasm_bindgen::prelude::wasm_bindgen;