优化部分细节

This commit is contained in:
Yun
2026-05-27 15:34:09 +08:00
parent e964f5e106
commit 03ef06fdcc
7 changed files with 524 additions and 526 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ func WithMaxRetryCount(count int) Option {
func WithMaxWorkers(count int) Option {
return func(o *Options) {
if count < 0 {
if count <= 0 {
count = 100
}
o.maxWorkers = count