diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-01-17 08:50:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 08:50:49 -0500 |
commit | dce061630530c467966378ae3c5adbcf4a09e34f (patch) | |
tree | d737d8cb27d19036163c7ab445327462a911641c /store/storetest/mocks/SessionStore.go | |
parent | d35d9484f4918f8f6fc3d48a74ede7eb6db33b7b (diff) | |
download | chat-dce061630530c467966378ae3c5adbcf4a09e34f.tar.gz chat-dce061630530c467966378ae3c5adbcf4a09e34f.tar.bz2 chat-dce061630530c467966378ae3c5adbcf4a09e34f.zip |
ABC-73 Move session clean-up to daily task (#8095)
* Move session clean-up to daily task
* Split delete query into batches
Diffstat (limited to 'store/storetest/mocks/SessionStore.go')
-rw-r--r-- | store/storetest/mocks/SessionStore.go | 5 |
1 files changed, 5 insertions, 0 deletions
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) |