Skip to content

Commit 60c3651

Browse files
committed
added comment
1 parent eda09a9 commit 60c3651

File tree

1 file changed

+5
-0
lines changed
  • app/server/appsmith-server/src/main/java/com/appsmith/server/helpers

1 file changed

+5
-0
lines changed

app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/RedisUtils.java

+5
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ public Mono<String> getRunningAutoCommitBranchName(String defaultApplicationId)
100100
});
101101
}
102102

103+
/**
104+
* Expect to use this method when you want to delete all the sessions in this Appsmith instance.
105+
* This would be required for whenever any attribute related to sessions becomes invalid at a systemic level.
106+
* Use with caution, every user will be logged out.
107+
*/
103108
public Mono<Void> deleteAllSessionsIncludingCurrentUser() {
104109
AtomicInteger deletedKeysCount = new AtomicInteger(0);
105110

0 commit comments

Comments
 (0)