* add tests

* pass userID to the function instead of the user object.

* remove concurrent login simulation

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Vishal
2024-10-22 12:21:36 +05:30
коммит произвёл GitHub
родитель 1a28bc2c58
Коммит cc5b3a2f69
9 изменённых файлов: 129 добавлений и 11 удалений

Просмотреть файл

@@ -76,6 +76,8 @@ type Channels struct {
postReminderMut sync.Mutex
postReminderTask *model.ScheduledTask
loginAttemptsMut sync.Mutex
}
func NewChannels(s *Server) (*Channels, error) {