mcollina / fastq

Fast, in memory work queue
ISC License
943 stars 47 forks source link

validate concurrency parameter #34

Closed huang-xiao-jian closed 3 years ago

huang-xiao-jian commented 3 years ago

try to resolve issue #32.

I'm not sure which is better:

solution 1: just throw when concurrency less than 1 solution 2: set default concurrency as fallback

I prefer solution 1 personally.