Move cluster, webhub and store out of Server (#20899)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
203df2f537
Коммит
5e69c6b02f
@@ -16,7 +16,7 @@ func (api *API) InitUser() {
|
||||
func (api *API) userTyping(req *model.WebSocketRequest) (map[string]any, *model.AppError) {
|
||||
api.App.ExtendSessionExpiryIfNeeded(&req.Session)
|
||||
|
||||
if api.App.Srv().Busy.IsBusy() {
|
||||
if api.App.Srv().Platform().Busy.IsBusy() {
|
||||
// this is considered a non-critical service and will be disabled when server busy.
|
||||
return nil, NewServerBusyWebSocketError(req.Action)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user