You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The current implementation of the once daily delete expired login sessions timer is not very efficient. It loads 250 sessions and of those, it then deletes the expired ones. This could potentially be improved to delete more than a maximum of 250 (or some other constant) expired sessions per app org.
Describe the solution you'd like
Look into using a single DeleteMany Mongo query to target sessions to be deleted instead of performing multiple storage operations as well as being able to find all expired login sessions for an app org instead of just loading 250 random sessions if a single DeleteMany query is not feasible.
Describe alternatives you've considered
The current implementation may be acceptable with few applications using the system, but as the number of applications grows, the efficiency of this operation becomes more important.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The current implementation of the once daily delete expired login sessions timer is not very efficient. It loads 250 sessions and of those, it then deletes the expired ones. This could potentially be improved to delete more than a maximum of 250 (or some other constant) expired sessions per app org.
Describe the solution you'd like
Look into using a single
DeleteMany
Mongo query to target sessions to be deleted instead of performing multiple storage operations as well as being able to find all expired login sessions for an app org instead of just loading 250 random sessions if a singleDeleteMany
query is not feasible.Describe alternatives you've considered
The current implementation may be acceptable with few applications using the system, but as the number of applications grows, the efficiency of this operation becomes more important.
The text was updated successfully, but these errors were encountered: