From dce061630530c467966378ae3c5adbcf4a09e34f Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 17 Jan 2018 08:50:49 -0500 Subject: ABC-73 Move session clean-up to daily task (#8095) * Move session clean-up to daily task * Split delete query into batches --- store/store.go | 1 + 1 file changed, 1 insertion(+) (limited to 'store/store.go') diff --git a/store/store.go b/store/store.go index dc140edd4..c66daec7f 100644 --- a/store/store.go +++ b/store/store.go @@ -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 { -- cgit v1.2.3-1-g7c22