2024-11-19 13:48:45: merge [main:9bf34172a53d944b92341486ea7e97962cb97400];

This commit is contained in:
txix committed 2024-11-19 13:48:45 +03:00
1 parent 820afbd774
commit a2f3e1c1b6
3 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
1.4.0
1.4.1
+2
View File
@@ -1,3 +1,5 @@
# v1.4.1
* добавлена обработка ошибки при закрытии клиента `redis`
# v1.4.0
* добавлен метод `daily_limit/get` для проверки возможности отправки запроса пользователем
# v1.3.0
+6 -1
View File
@@ -83,7 +83,12 @@ func (a *Assembly) Closers() []app.Closer {
return nil
}),
app.CloserFunc(func() error {
_ = a.redisCli.Close()
if a.redisCli != nil {
err := a.redisCli.Close()
if err != nil {
return errors.WithMessage(err, "shutdown redis client")
}
}
return nil
}),
}