[GH-21565]-Add the request context and logger to all public methods in server/channels/app/audit.go (#25368)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5f8133254d
Коммит
29cd6177c0
@@ -14,7 +14,7 @@ func (api *API) InitUser() {
|
||||
}
|
||||
|
||||
func (api *API) userTyping(req *model.WebSocketRequest) (map[string]any, *model.AppError) {
|
||||
api.App.ExtendSessionExpiryIfNeeded(&req.Session)
|
||||
api.App.ExtendSessionExpiryIfNeeded(request.EmptyContext(api.App.Log()), &req.Session)
|
||||
|
||||
if api.App.Srv().Platform().Busy.IsBusy() {
|
||||
// this is considered a non-critical service and will be disabled when server busy.
|
||||
|
||||
Ссылка в новой задаче
Block a user