Commit 9e4240a0 authored by vicotor's avatar vicotor

set routine count

parent b868e423
......@@ -39,6 +39,7 @@ func NewCacheData(ctx context.Context, options RedisConnParam, mysqlConfig model
cache := &CacheData{
rdb: rdb,
pathLru: pathLru,
maxRoutine: 10,
taskChan: make(chan QueryParam, 10000),
taskType: model.NewTaskTypeRepository(),
userRepo: model.NewUserRepository(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment