[#702] Init app settings
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
2a41929be3
commit
1fa28dfacd
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ func newApp(ctx context.Context, log *Logger, v *viper.Viper) *App {
|
|||
wrkDone: make(chan struct{}, 1),
|
||||
|
||||
maxClients: api.NewMaxClientsMiddleware(maxClientsCount, maxClientsDeadline),
|
||||
settings: &appSettings{LogLevel: log.lvl},
|
||||
}
|
||||
|
||||
app.initMetrics()
|
||||
|
|
Loading…
Reference in a new issue