2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-23 01:00:17 +08:00

Update README.md

This commit is contained in:
Mehran Poursadeghi 2021-08-27 15:02:31 +04:30 committed by GitHub
parent 421dc584ff
commit e3775510fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ const redisAddr = "127.0.0.1:6379"
func main() { func main() {
srv := asynq.NewServer( srv := asynq.NewServer(
asynq.RedisClientOpt{Addr: redisAddr} asynq.RedisClientOpt{Addr: redisAddr},
asynq.Config{ asynq.Config{
// Specify how many concurrent workers to use // Specify how many concurrent workers to use
Concurrency: 10, Concurrency: 10,