1. 22 Jan, 2022 1 commit
    • Lars Kruse's avatar
      Revert "refactor: use short-lived sessions when accessing the database" · 0a675430
      Lars Kruse authored
      The introduction of short-lived sessions caused issues with functions,
      which return database objects.  Such objects are not accessible (due to
      lazy loading), after the session is closed.
      
      Instead we should either move the session scope the respective callers
      or use a request-based session handling (e.g. the one provided by
      flask-sqlalchemy).
      
      This reverts commit 0b594e50 and 70ffd1a0.
      
      See: #93
      0a675430
  2. 23 Nov, 2021 1 commit
    • Lars Kruse's avatar
      refactor: use short-lived sessions when accessing the database · 0b594e50
      Lars Kruse authored
      Previously the database connection ("DB.session") was established during
      the startup of Aura Engine.
      This was causing conflicts in the threaded execution environment (#75).
      Now all sessions are acquired in a short-lived context:
      
        with DB.Session() as session:
            ...
      
      If database query performance is a real concern, then the session
      contexts could be moved to a higher level.
      
      Closes: #75
      0b594e50
  3. 29 Jul, 2021 1 commit
  4. 27 Jan, 2021 1 commit
  5. 08 Dec, 2020 1 commit
  6. 27 Nov, 2020 1 commit
  7. 19 Nov, 2020 1 commit
  8. 18 Nov, 2020 1 commit
  9. 31 Oct, 2020 1 commit
  10. 30 Oct, 2020 1 commit
  11. 29 Oct, 2020 3 commits
  12. 28 Oct, 2020 1 commit
  13. 27 Oct, 2020 2 commits
  14. 25 Oct, 2020 1 commit
  15. 23 Oct, 2020 1 commit
  16. 21 Sep, 2020 1 commit
  17. 17 Sep, 2020 1 commit
  18. 28 Jun, 2020 3 commits
  19. 12 Jun, 2020 2 commits
  20. 10 Jun, 2020 1 commit
  21. 04 Jun, 2020 1 commit
  22. 14 May, 2020 1 commit
  23. 21 Mar, 2020 1 commit
  24. 09 Mar, 2020 3 commits
  25. 06 Mar, 2020 1 commit
  26. 02 Mar, 2020 1 commit
  27. 25 Feb, 2020 1 commit