Commit Graph

15 Commits

Author SHA1 Message Date
jo b7214b5d46 feat: add sentry sdk 2023-03-14 14:59:45 +00:00
jo a60d83311b feat: add python packages version 2023-03-14 14:59:45 +00:00
jo 861698987c refactor: don't use f-string on logging statements
The strings are now be formatted if the logging level is enabled.
2023-02-26 19:09:51 +02:00
jo dbf4667bd8 fix(worker): replace deprecated cgi.parse_header 2022-12-07 15:59:52 +02:00
Jonas L b1ac153a3e
fix(worker): configure celery timezone (#2169)
This should not change behavior, as nothing relies on datetime. Though this should enforce current server timezone for any future tasks.
2022-09-20 21:41:18 +02:00
jo 08a44186aa fix(worker): rewrite podcast download task
- Fixes bad exception handling when facing an invalid podcast episode file. Fix #2083
2022-09-12 10:50:02 +02:00
jo 11c55d26dc refactor(worker): add types and rewrite docstring 2022-09-09 14:44:37 +02:00
jo ab6cebb6ed refactor(worker): rewrite extract_filename from download 2022-09-09 14:44:37 +02:00
Jonas L 1147853c63
feat(shared): pass config data via init (#2042) 2022-08-12 15:12:39 +02:00
Jonas L d93731807c
feat(worker): load callback details from config (#1994) 2022-07-26 14:18:41 +02:00
jo 29c174b85e feat(worker): set celery timezone to UTC 2022-03-04 22:18:29 +02:00
jo 9b6d657fd6 feat(worker): load config using shared helpers
BREAKING CHANGE: The worker `RMQ_CONFIG_FILE` environement variable has
been renamed to `LIBRETIME_CONFIG_FILEPATH`. In addition the systemd
working directory for the worker has changed from `/srv/airtime` to
`/var/lib/libretime/worker`.
2022-02-25 11:48:57 +02:00
jo 32cb67806a chore: add pyupgrade pre-commit hook
- add --py3-plus flag to pyupgrade hook
- add --py36-plus flag to pyupgrade hook
2022-01-27 10:37:48 +02:00
jo ccb8a234b8 chore: fixes after libretime_worker rename 2022-01-04 09:18:58 +02:00
jo 39c6acdd8a chore: rename airtime-celery to libretime_worker 2022-01-04 09:18:58 +02:00