feat(assist-api): added missing config
This commit is contained in:
parent
73b7cbe261
commit
e6d91430f2
1 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ type Config struct {
|
|||
common.HTTP
|
||||
ProjectExpiration time.Duration `env:"PROJECT_EXPIRATION,default=10m"`
|
||||
AssistKey string `env:"ASSIST_KEY"`
|
||||
CacheTTL time.Duration `env:"REDIS_CACHE_TTL,default=5s"`
|
||||
BatchSize int `env:"REDIS_BATCH_SIZE,default=1000"`
|
||||
ScanSize int64 `env:"REDIS_SCAN_SIZE,default=1000"`
|
||||
WorkerID uint16
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue