Skip to content

Commit

Permalink
Merge pull request #497 from DSD-DBS/fix-session-termination
Browse files Browse the repository at this point in the history
Switch Collab Manager session and database session
  • Loading branch information
MoritzWeber0 authored Jan 4, 2023
2 parents aa0ea62 + 9f0d692 commit 6c872f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/capellacollab/sessions/idletimeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def terminate_idle_session():
log.info("Terminating idle session %s", session_id)
with database.SessionLocal() as db:
if session := get_session_by_id(db, session_id):
util.terminate_session(session, db, OPERATOR)
util.terminate_session(db, session, OPERATOR)
else:
log.error(
"Session was not found in our database. Terminating idle session %s",
Expand Down
3 changes: 2 additions & 1 deletion docs/user/docs/getting-started/capella-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ A very nice set of videos, highly recommended to watch:
You may find more Capella - related videos on the official channel:
[EclipseCapella](https://www.youtube.com/c/EclipseCapella/videos)

Also you can try out this [Capella Tutorial](https://esd.sutd.edu.sg/40014-capella-tutorial/index.html)
Also you can try out this
[Capella Tutorial](https://esd.sutd.edu.sg/40014-capella-tutorial/index.html)

## More advanced topics

Expand Down

0 comments on commit 6c872f0

Please sign in to comment.