- Feb 17, 2022
-
-
Lars Kruse authored
-
Lars Kruse authored
The current target length is 99 characters.
-
Lars Kruse authored
Thanks, flake8.
-
Lars Kruse authored
The exceptions to be handled should be specified, otherwise even a "NameError" would be caught. Thanks, flake8.
-
Lars Kruse authored
Thanks, flake8.
-
Lars Kruse authored
-
- Feb 11, 2022
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
This solves issues with concurrent Liquidsoap operations. This temporarly solves: - engine-core#5 This relates to: - engine#65 - engine#76
-
David Trattnig authored
-
David Trattnig authored
-
- Feb 10, 2022
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
- Feb 09, 2022
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
- Jan 28, 2022
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
- Jan 27, 2022
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
- Jan 22, 2022
-
-
Lars Kruse authored
Currently the database session is created during application startup and is used in all threads. This is problematic, since the session is not thread-safe. Now we use the request-based database session provided by flask-sqlachemy instead. But this does not really solve the problem of using the same session in different threads, since the threads are started within a request.
-
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
-
- Jan 21, 2022
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
- Jan 14, 2022
-
-
David Trattnig authored
-
- Dec 13, 2021
-
-
David Trattnig authored
-
- Nov 23, 2021
-
-
Lars Kruse authored
Thanks, codespell!
-
Lars Kruse authored
An sqlite database is much easier to setup for simple local deployments and specifically for test automation.
-
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
-
- Nov 22, 2021
-
-
Lars Kruse authored
-
- Jul 29, 2021
-
-
David Trattnig authored
-
- Jul 13, 2021
-
-
David Trattnig authored
-