2024-07-01 10:56:14: merge [master:f9b2632335c35844013af97443dacebb9fc385c5];
This commit is contained in:
1 parent
cd985ff5a3
commit
6db18c1495
19 files changed
+107
-82
No files matched your search
@@ -164,6 +164,7 @@ func (a *Assembly) Closers() []app.Closer {
|
||||
return closers
|
||||
}
|
||||
|
||||
// nolint:ireturn
|
||||
func (a *Assembly) redisClient(config conf.Redis) redis.UniversalClient {
|
||||
if config.Sentinel != nil {
|
||||
return redis.NewFailoverClient(&redis.FailoverOptions{
|
||||
|
||||
+1
-1
@@ -112,7 +112,7 @@ func (l Locator) Handler(config conf.Remote, locations []conf.Location, redisCli
|
||||
)
|
||||
}
|
||||
entrypoint := middleware.Entrypoint(
|
||||
config.Http.MaxRequestBodySizeInMb*1024*1024, //nolint:gomnd
|
||||
config.Http.MaxRequestBodySizeInMb*1024*1024, //nolint:mnd,gomnd
|
||||
handler,
|
||||
l.logger,
|
||||
middleware.EntryPointConfig{
|
||||
|
||||
Reference in new issue
Block a user