summaryrefslogtreecommitdiffstats
path: root/app/session.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/session.go')
-rw-r--r--app/session.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/session.go b/app/session.go
index 7290bfd88..4b1ea18f2 100644
--- a/app/session.go
+++ b/app/session.go
@@ -101,7 +101,12 @@ func ClearSessionCacheForUser(userId string) {
ClearSessionCacheForUserSkipClusterSend(userId)
if einterfaces.GetClusterInterface() != nil {
- einterfaces.GetClusterInterface().ClearSessionCacheForUser(userId)
+ msg := &model.ClusterMessage{
+ Event: model.CLUSTER_EVENT_CLEAR_SESSION_CACHE_FOR_USER,
+ SendType: model.CLUSTER_SEND_BEST_EFFORT,
+ Data: userId,
+ }
+ einterfaces.GetClusterInterface().SendClusterMessage(msg)
}
}