Reduce logging data races, fix MySQL test race condition (#7994)
* fix races * revert unintentional change * fix test as intended
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
5189e8ea10
Коммит
91bfc72a99
@@ -20,8 +20,6 @@ import (
|
||||
)
|
||||
|
||||
func (api *API) InitUser() {
|
||||
l4g.Debug(utils.T("api.user.init.debug"))
|
||||
|
||||
api.BaseRoutes.Users.Handle("/create", api.ApiAppHandler(createUser)).Methods("POST")
|
||||
api.BaseRoutes.Users.Handle("/update", api.ApiUserRequired(updateUser)).Methods("POST")
|
||||
api.BaseRoutes.Users.Handle("/update_active", api.ApiUserRequired(updateActive)).Methods("POST")
|
||||
|
||||
Ссылка в новой задаче
Block a user