diff --git a/app/config.go b/app/config.go index d49043b..fa629bf 100644 --- a/app/config.go +++ b/app/config.go @@ -9,9 +9,8 @@ import ( // Worker describes how many service workers to launch type Worker struct { - Count int32 `mapstructure:"count,omitempty"` - Method string `mapstructure:"method,omitempty"` - Struct string `mapstructure:"struct,omitempty"` + ChannelSize int64 `mapstructure:"channel_size,omitempty"` + WorkerCount int `mapstructure:"worker_count,omitempty"` } // CacheSize describes how to chunkify resources