worker config

v0.1.28 v0.1.28
Vernon Keenan 2021-01-24 13:45:57 -08:00
parent ed3214ce43
commit f82e4ddac4
1 changed files with 2 additions and 3 deletions

View File

@ -9,9 +9,8 @@ import (
// Worker describes how many service workers to launch // Worker describes how many service workers to launch
type Worker struct { type Worker struct {
Count int32 `mapstructure:"count,omitempty"` ChannelSize int64 `mapstructure:"channel_size,omitempty"`
Method string `mapstructure:"method,omitempty"` WorkerCount int `mapstructure:"worker_count,omitempty"`
Struct string `mapstructure:"struct,omitempty"`
} }
// CacheSize describes how to chunkify resources // CacheSize describes how to chunkify resources