summaryrefslogtreecommitdiffstats
path: root/store/storetest/mocks
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2018-01-17 08:50:49 -0500
committerGitHub <noreply@github.com>2018-01-17 08:50:49 -0500
commitdce061630530c467966378ae3c5adbcf4a09e34f (patch)
treed737d8cb27d19036163c7ab445327462a911641c /store/storetest/mocks
parentd35d9484f4918f8f6fc3d48a74ede7eb6db33b7b (diff)
downloadchat-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')
-rw-r--r--store/storetest/mocks/SessionStore.go5
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)