Skip to content

Commit

Permalink
refactor: Update default value of Workers to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Jun 17, 2024
1 parent e300e68 commit 96bb10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/processor/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (
DefaultExportTimeout = 30000
DefaultMaxExportBatchSize = 512
DefaultShippingMethod = ShippingMethodAsync
DefaultNumWorkers = 1
DefaultNumWorkers = 5
)

// ShippingMethod is the method of shipping items for export.
Expand Down Expand Up @@ -77,7 +77,7 @@ type BatchItemProcessorOptions struct {
// of ShippingMethod is "async".
ShippingMethod ShippingMethod
// Workers is the number of workers to process batches.
// The default value of Workers is 1.
// The default value of Workers is 5.
Workers int
}

Expand Down

0 comments on commit 96bb10c

Please sign in to comment.