Revert "[MM-46579] Add a limit for preferences" (#22086)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6b6150d374
Коммит
1fdedf30f1
@@ -6256,10 +6256,10 @@ func (s *TimerLayerPreferenceStore) Get(userID string, category string, name str
|
||||
return result, err
|
||||
}
|
||||
|
||||
func (s *TimerLayerPreferenceStore) GetAll(userID string, limit int) (model.Preferences, error) {
|
||||
func (s *TimerLayerPreferenceStore) GetAll(userID string) (model.Preferences, error) {
|
||||
start := time.Now()
|
||||
|
||||
result, err := s.PreferenceStore.GetAll(userID, limit)
|
||||
result, err := s.PreferenceStore.GetAll(userID)
|
||||
|
||||
elapsed := float64(time.Since(start)) / float64(time.Second)
|
||||
if s.Root.Metrics != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user