Skip to content

Commit e412939

Browse files
committed
Merge commit 'ce46ec03db5253067f19ca7dfbf80970e306369c' into IAFEnvoy-master
2 parents c209ea6 + ce46ec0 commit e412939

File tree

12 files changed

+802
-224
lines changed

12 files changed

+802
-224
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/cache
99
/data
1010
/logs
11+
/error.log
1112
/.tmp
1213
/__hijack
1314
/oss_mirror

README.MD

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@ cluster_id: ${CLUSTER_ID}
8686
cluster_secret: ${CLUSTER_SECRET}
8787
# 文件同步间隔 (分钟)
8888
sync_interval: 10
89-
# 同步文件时最多打开的连接数量
90-
download_max_conn: 64
9189
# 连接超时限制(秒),网不好就调高点
9290
connect_timeout: 10
91+
# 同步文件时最多打开的连接数量
92+
download_max_conn: 64
93+
# 是否启用 gzip 压缩
94+
use_gzip: false
9395
# 服务器上行限制
9496
serve_limit:
9597
# 是否启用上行限制

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ outputdir=output
1212

1313
mkdir -p "$outputdir"
1414

15-
[ -n "$TAG" ] || TAG=$(git describe --tags --match v[0-9]* --abbrev=0 2>/dev/null || git log -1 --format="dev-%H")
15+
[ -n "$TAG" ] || TAG=$(git describe --tags --match v[0-9]* --abbrev=0 --candidates=0 2>/dev/null || git log -1 --format="dev-%H")
1616

1717
echo "Detected tag: $TAG"
1818

0 commit comments

Comments
 (0)