права фикс
This commit is contained in:
@@ -15,7 +15,7 @@ type ChannelConfig struct {
|
||||
ChannelDelay time.Duration `envconfig:"WORKER__CHANNEL_DELAY" default:"500ms"`
|
||||
RequestTimeout time.Duration `envconfig:"WORKER__REQUEST_TIMEOUT" default:"10s"`
|
||||
MessagesLimit int `envconfig:"WORKER__MESSAGES_LIMIT" default:"20"`
|
||||
PollInterval time.Duration `envconfig:"WORKER__POLL_INTERVAL" default:"20s"`
|
||||
PollInterval time.Duration `envconfig:"WORKER__POLL_INTERVAL" default:"120s"`
|
||||
}
|
||||
|
||||
type ChannelWorker struct {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
type ViewsConfig struct {
|
||||
Interval time.Duration `envconfig:"WORKER__VIEWS_INTERVAL" default:"30s"`
|
||||
Interval time.Duration `envconfig:"WORKER__VIEWS_INTERVAL" default:"1800s"`
|
||||
RequestTimeout time.Duration `envconfig:"WORKER__REQUEST_TIMEOUT" default:"10s"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user