ABC-73 Move session clean-up to daily task (#8095)
* Move session clean-up to daily task * Split delete query into batches
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d35d9484f4
Коммит
dce0616305
@@ -260,6 +260,7 @@ type SessionStore interface {
|
||||
UpdateRoles(userId string, roles string) StoreChannel
|
||||
UpdateDeviceId(id string, deviceId string, expiresAt int64) StoreChannel
|
||||
AnalyticsSessionCount() StoreChannel
|
||||
Cleanup(expiryTime int64, batchSize int64)
|
||||
}
|
||||
|
||||
type AuditStore interface {
|
||||
|
||||
Ссылка в новой задаче
Block a user