- We move logging statements to the upper layer.
Store functions are low-level methods and should return error
upwards rather than logging.
- Used IN instead of any (array ()) which is equivalent.
- Made the delay to be of type time.Duration and un-exported it.
- Unexported the batch size constant.

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2021-08-13 20:15:24 +05:30
коммит произвёл GitHub
родитель 2711262729
Коммит d1b164ab1f
8 изменённых файлов: 55 добавлений и 24 удалений

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

@@ -451,7 +451,7 @@ type SessionStore interface {
UpdateDeviceId(id string, deviceID string, expiresAt int64) (string, error)
UpdateProps(session *model.Session) error
AnalyticsSessionCount() (int64, error)
Cleanup(expiryTime int64, batchSize int64)
Cleanup(expiryTime int64, batchSize int64) error
}
type AuditStore interface {