From 1bc12f43fba372328efaf8229e92d851476e375c Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 15 Aug 2024 16:52:32 +0800 Subject: [PATCH] Update session-management.md --- docs/en/modules/identity/session-management.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/modules/identity/session-management.md b/docs/en/modules/identity/session-management.md index c68f034c18..e911146081 100644 --- a/docs/en/modules/identity/session-management.md +++ b/docs/en/modules/identity/session-management.md @@ -53,4 +53,5 @@ This feature depends on the [Dynamic Claims](https://docs.abp.io/en/abp/latest/D * The module will remove the session when logging out. * The `IdentitySessionCleanupBackgroundWorker` will remove the inactive sessions. * Once a new session has been created, we will remove the other sessions based on the `PreventConcurrentLogin` setting. -* The `IdentitySessionManager` is used to manage/maintain the sessions. Please use this class instead of directly using the repository. \ No newline at end of file +* The `IdentitySessionManager` is used to manage/maintain the sessions. Please use this class instead of directly using the repository. +* The `UpdateSessionAfterCacheHit(10 times by default)` property of `IdentitySessionCheckerOptions` is used to configure the `IdentitySessionChecker` that will update session in the database when cache hits reach this value. This is to reduce the database update frequency and improve performance.