Commit Graph
2949 Commits
Author SHA1 Message Date
meeb 483f5d9949 Merge pull request #1120 from tcely/patch-12
Teach `wait_for_errors` about `huey` results
2025-06-18 22:39:43 +10:00
meeb a1c52ec093 Merge pull request #1123 from tcely/patch-15
Create a path around `download_media_thumbnail`
2025-06-18 22:33:38 +10:00
meeb 9840daeff5 Merge pull request #1119 from tcely/patch-11
Migrate `rename_media` to `huey`
2025-06-18 22:32:44 +10:00
meeb 0beec6981c Merge pull request #1114 from tcely/patch-2
Add the `h_q_reset_tasks` function
2025-06-18 22:31:16 +10:00
meeb 0276fb4260 Merge pull request #1116 from tcely/patch-5
Migrate `check_source_directory_exists` to `huey`
2025-06-18 22:30:49 +10:00
meeb 8079b2c7a5 Merge pull request #1113 from tcely/patch-7
Reduce thumbnail download tasks
2025-06-18 22:30:26 +10:00
tcely 54aaf07df9 Remove register_huey_signals function from signals.py 2025-06-18 08:16:26 -04:00
tcely dd7f9550c6 Move register_huey_signals function into common/huey.py 2025-06-18 08:14:47 -04:00
tcely 663a2e8b61 fixup: do not import from signals 2025-06-18 07:53:48 -04:00
tcely 3e07b88439 fixup: use the correct location 2025-06-18 07:48:40 -04:00
tcely ac8acbdb3d Call register_huey_signals from tasks.py 2025-06-18 07:44:17 -04:00
tcely abf9ef7d2f Add register_huey_signals function in signals.py 2025-06-18 07:41:27 -04:00
tcely dbf8ca3ea5 Use a sub-class that includes huey with signals 2025-06-18 07:16:02 -04:00
tcely 036e368491 Handle the signal sent when a consumer is terminated 2025-06-18 06:36:16 -04:00
tcely 12d1951350 Only count scheduled migrate_to_metadata tasks 2025-06-17 18:59:44 -04:00
tcely 0422c72d98 Do not wait for the old queue to empty 2025-06-17 18:02:00 -04:00
tcely 8234eb9e30 Merge branch 'main' into patch-4 2025-06-17 12:54:04 -04:00
tcely faf94eece6 Improve the msg when formats and thumbnails are alone 2025-06-17 09:47:17 -04:00
meeb 546f28555a Merge pull request #1122 from tcely/patch-14
Patch `huey.CancelExecution`
2025-06-17 23:38:29 +10:00
tcely 23af8feceb fixup: address ruff check complaints 2025-06-17 09:36:37 -04:00
tcely c2b460b2ea fixup: remove unused import: multi_key_sort 2025-06-17 09:30:07 -04:00
tcely a55444a21e Expand the exception 2025-06-17 09:23:20 -04:00
tcely 804f32c145 Create the exception then add to it 2025-06-17 09:06:30 -04:00
tcely ac463403b1 Merge branch 'main' into patch-refresh-formats 2025-06-17 08:53:59 -04:00
tcely a68dbd7b3d Move refresh_formats function to media__tasks.py 2025-06-17 08:39:52 -04:00
tcely 983679964b Abort wait_for_errors during container shutdown 2025-06-16 22:19:42 -04:00
tcely 88b76e0c7c Start with what background_task was using 2025-06-16 21:39:50 -04:00
tcely fe2160518e Rename tubesync/common/models.py to tubesync/common/models/__init__.py 2025-06-16 20:48:34 -04:00
tcely f2d31682d8 fixup: super() didn't work 2025-06-16 18:26:11 -04:00
tcely 5f4fc46586 Patching the class was easier 2025-06-16 18:06:34 -04:00
tcely b372fda4c0 fixup: syntax 2025-06-16 17:38:05 -04:00
tcely 6b4fa15ec6 Run the initial image downloads using huey 2025-06-16 17:36:56 -04:00
tcely c144d9d55f Update media__tasks.py 2025-06-16 17:04:42 -04:00
tcely f2af93f68c Update media__tasks.py 2025-06-16 17:03:02 -04:00
tcely 567cfac6af Create a path around download_media_thumbnail 2025-06-16 16:54:38 -04:00
tcely a5509612d1 Update tasks.py 2025-06-16 16:50:04 -04:00
tcely 557538292c Translate the odd way huey.CancelExecution is called 2025-06-16 16:48:32 -04:00
tcely 1e5e27952e Migrate migrate_to_metadata to huey 2025-06-16 14:34:52 -04:00
tcely 0486329a8b fixup: remove assignment 2025-06-16 13:05:38 -04:00
tcely 60b0fc6440 Teach wait_for_errors about huey results 2025-06-16 13:01:45 -04:00
tcely 1bdd888064 Adjust the call in signals.py 2025-06-16 10:27:58 -04:00
tcely 5d2cb4145c Migrate rename_media to huey 2025-06-16 10:23:38 -04:00
tcely 40489a2bf2 Use 'thread' for most consumers 2025-06-16 10:03:40 -04:00
tcely 2817080d4c Support consumer threads 2025-06-16 09:33:53 -04:00
tcely 2f0bdfd8da Log when a new task is created 2025-06-16 08:36:12 -04:00
tcely 190412a0aa Compare the previous crawl time to the upcoming hour 2025-06-15 18:02:46 -04:00
tcely 5db94c08d1 fixup: revoke the task objects 2025-06-15 16:13:49 -04:00
tcely 4408af7925 Use the database queue 2025-06-15 15:30:42 -04:00
tcely b5e6b41449 fixup: it is only unused when everything is merged 2025-06-15 15:22:40 -04:00
tcely d43b691673 fixup: remove an unused import 2025-06-15 15:19:57 -04:00