forked from spring-projects/spring-session
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't send expirations del events when expiration time does not change.
Expiration time is rounded up, so in case of many request per second from a single session we can skip sending of delete event to reduce the traffic. This is good because actually at the moment the redis repository is subscribed for this events, even though it ignores them. Fix spring-projectsgh-315
- Loading branch information
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters