Skip to content

Commit

Permalink
chore: 调整 bulk batch 默认配置 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiandongx authored Dec 19, 2023
1 parent a3c1bee commit 4c9b1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/transfer/pipeline/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ type BulkManager interface {
// Bulk defaults
var (
BulkDefaultBufferSize = 2000
BulkDefaultFlushInterval = 2 * time.Second
BulkDefaultFlushInterval = 1 * time.Second
BulkDefaultFlushRetries = 3
BulkDefaultConcurrency int64 = 32
BulkDefaultConcurrency int64 = 25
BulkDefaultMaxConcurrency int64 = 10000
)

Expand Down

0 comments on commit 4c9b1fa

Please sign in to comment.