Skip to content

Commit

Permalink
change type(int -> int32)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxErrorLineNULL committed Sep 4, 2024
1 parent d713c35 commit d7653e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ type Options struct {
//
// Note: the channel must be closed after the worker pool is stopped.
Queue chan Task

// WorkerCount specifies the number of workers that will be spawned in the pool.
// This determines how many tasks can be processed concurrently.
WorkerCount int32

// MaxRetryWorkerRestart defines the maximum number of times a worker can be restarted
// in case of failure before it is considered as a critical issue and further restarts
// are stopped. This helps in preventing endless restarts in case of persistent errors.
MaxRetryWorkerRestart int
MaxRetryWorkerRestart int32
}

0 comments on commit d7653e4

Please sign in to comment.