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/storetest/mocks/SessionStore.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'store/storetest/mocks') diff --git a/store/storetest/mocks/SessionStore.go b/store/storetest/mocks/SessionStore.go index 1bec89e11..70b2bd945 100644 --- a/store/storetest/mocks/SessionStore.go +++ b/store/storetest/mocks/SessionStore.go @@ -29,6 +29,11 @@ func (_m *SessionStore) AnalyticsSessionCount() store.StoreChannel { return r0 } +// Cleanup provides a mock function with given fields: expiryTime, batchSize +func (_m *SessionStore) Cleanup(expiryTime int64, batchSize int64) { + _m.Called(expiryTime, batchSize) +} + // Get provides a mock function with given fields: sessionIdOrToken func (_m *SessionStore) Get(sessionIdOrToken string) store.StoreChannel { ret := _m.Called(sessionIdOrToken) -- cgit v1.2.3-1-g7c22