Commit Graph

8 Commits

Author SHA1 Message Date
Justin Ludwig 6ea2a00bfe Update SQLAlchemy compatibility and dependencies
- Added psycopg2-binary to requirements for PostgreSQL support.
- Refactored consumer.py to use joinedload with the correct syntax.
- Updated models.py to fix ForeignKey and Enum type definitions for
  better compatibility with current SQLAlchemy versions.

These changes ensure the application is compatible with the latest
SQLAlchemy practices and supports PostgreSQL databases.
2023-12-28 17:23:17 -08:00
Jan Losinski 71c34761b2 Allow ggracefl stop of consumer 2019-01-26 21:49:59 +01:00
Jan Losinski c1de09b8f4 More sensible logging.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-23 04:10:58 +01:00
Jan Losinski 8a9246114c Warn if token refresh fails
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-22 01:00:55 +01:00
Jan Losinski 57a8851a55 Use context based session.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 23:50:25 +01:00
Jan Losinski 6eaeb17a31 Fix consumer sleep.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 12:58:21 +01:00
Jan Losinski e3743dd6da Add config and fix sesson handling.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 07:23:02 +01:00
Jan Losinski 8b7821bcb0 Move all in its own package.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 06:47:44 +01:00