Skip to content

Commit

Permalink
Drop extra newline
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek authored Jan 18, 2024
1 parent b367c09 commit 0e4f6fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/source/dev/database_session_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ the session is properly discarded and the next iteration of `check_watched_items
a new, clean session to work with. As the work within `JobHandlerQueue.monitor` is happening within a single thread it is not technically necessary to set a custom scope, and one could simply call `app.model.session.close`; however, there is very little cost associated to setting a custom scope and it becomes very clear
where the session lifespan starts and ends.


As a guiding principle an attempt should be made to manage the session state and database-related exception handling as high up in the calling stack as possible.

0 comments on commit 0e4f6fe

Please sign in to comment.