adding debug log when executing query (#23559)
Этот коммит содержится в:
@@ -324,6 +324,7 @@ func (ps *PlatformService) LimitedClientConfig() map[string]string {
|
|||||||
|
|
||||||
func (ps *PlatformService) IsFirstUserAccount() bool {
|
func (ps *PlatformService) IsFirstUserAccount() bool {
|
||||||
if ps.fetchUserCountForFirstUserAccountCheck.Load() {
|
if ps.fetchUserCountForFirstUserAccountCheck.Load() {
|
||||||
|
ps.logger.Debug("Fetching user count for first user account check")
|
||||||
count, err := ps.Store.User().Count(model.UserCountOptions{IncludeDeleted: true})
|
count, err := ps.Store.User().Count(model.UserCountOptions{IncludeDeleted: true})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false
|
return false
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user