This is an automated email from the ASF dual-hosted git repository.

zyxxoo pushed a commit to branch refactor/rust-rewrite-design
in repository https://gitbox.apache.org/repos/asf/hugegraph.git


The following commit(s) were added to refs/heads/refactor/rust-rewrite-design 
by this push:
     new c36a58921 fix(store): bound jemalloc download timeout
c36a58921 is described below

commit c36a58921b039ac07c2ca562c13e85b22e40380f
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 11:38:04 2026 +0800

    fix(store): bound jemalloc download timeout
---
 hugegraph-store/hg-store-dist/src/assembly/static/bin/util.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hugegraph-store/hg-store-dist/src/assembly/static/bin/util.sh 
b/hugegraph-store/hg-store-dist/src/assembly/static/bin/util.sh
index e45249a04..3abdc0747 100644
--- a/hugegraph-store/hg-store-dist/src/assembly/static/bin/util.sh
+++ b/hugegraph-store/hg-store-dist/src/assembly/static/bin/util.sh
@@ -330,7 +330,7 @@ download_and_verify() {
     local tmp
     # mktemp, not $$: a PID is shared by concurrent background subshells.
     tmp=$(mktemp -- "${filepath}.XXXXXX") || return 1
-    if curl -fL -o "$tmp" -- "$url"; then
+    if curl --connect-timeout 10 --max-time 60 -fL -o "$tmp" -- "$url"; then
         actual_md5=$(md5sum -- "$tmp" | awk '{ print $1 }')
         if [[ "$actual_md5" != "$expected_md5" ]]; then
             echo "MD5 checksum verification failed for $filepath after 
download. Expected: $expected_md5, but got: $actual_md5"

Reply via email to