-
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[change] Close all previous open RADIUS session #437
- Whenever a new session is started, all previous open session from the same user and calling-station-id is closed. In the previous implementation, only sessions with the same called-station-id were closed. - Avoid unnecessary update query in close previous session receiver. The bulk update query was being executed also when there was no open session to close. - Use datetime.now() for closing Radius session if update_time is None Related to #437
- Loading branch information
1 parent
452c897
commit 04bed55
Showing
4 changed files
with
17 additions
and
24 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ exclude = *.egg-info, | |
.git, | ||
./tests/*settings*.py, | ||
docs/* | ||
./tests/openwisp2/saml/* | ||
max-line-length = 88 |