Commit Graph
100 Commits
Author SHA1 Message Date
tcely 0102f4f92f Stop using BACKGROUND_TASK_ASYNC_THREADS setting 2025-06-21 07:02:48 -04:00
tcely 60c74785de Ignore TUBESYNC_WORKERS entirely 2025-06-21 06:56:30 -04:00
tcely e15319cc01 Remove TUBESYNC_WORKERS 2025-06-21 06:31:35 -04:00
tcely 9f19eefbfe Silence a silly logged message 2025-06-21 05:39:28 -04:00
tcely 24749e18b2 Turn off ignoreerrors
We only download one video at a time, so skipping over a failed download isn't something that we want.
2025-06-21 05:21:10 -04:00
tcely 15b4091714 Add to tests 2025-06-20 19:21:58 -04:00
tcely 18f26f9eaa Add to variables listing 2025-06-20 19:17:31 -04:00
tcely 2c93784623 Add to validation function 2025-06-20 19:14:42 -04:00
tcely 413c3af38b Tweak the display of the message 2025-06-20 16:37:35 -04:00
tcely bb184ba7dd Add a message about the paused queues to the running section 2025-06-20 13:57:39 -04:00
tcely 3cb6ff410c Add wait_for_database_queue tasks to the web UI 2025-06-20 13:41:30 -04:00
tcely 56620fdc07 Add a convenience format: yyyy_0mm_dd 2025-06-19 20:22:40 -04:00
tcely 6d14b5aa57 Do not store keys that only return None anyway 2025-06-19 17:31:12 -04:00
tcely 5960bb5d17 Use the WARNING level from logging 2025-06-19 16:31:18 -04:00
tcely 12de44f6ea Use the default logging level 2025-06-19 15:58:02 -04:00
tcely 800a2a5eb8 Use the level provided in logging 2025-06-19 15:55:47 -04:00
tcely f492d7acdd Set using DATABASES['default'] 2025-06-19 15:44:53 -04:00
tcely f63fb74e17 Log at the specified level 2025-06-19 15:36:37 -04:00
tcely 25755c0a47 Specify the log level 2025-06-19 15:22:23 -04:00
tcely 7874f0b05d Append messages to be logged 2025-06-19 15:06:07 -04:00
tcely 61ba748d4d Log from a list of messages 2025-06-19 14:59:48 -04:00
tcely 03e7d2dac3 Access _msg through settings.DATABASES 2025-06-19 14:51:37 -04:00
tcely ad6156e370 fixup: syntax 2025-06-19 14:40:58 -04:00
tcely 7e58f61e86 fixup: grouping 2025-06-19 14:32:29 -04:00
tcely bcfa7e515a Log the stored message 2025-06-19 14:27:10 -04:00
tcely a01d72e3ce Warn against using multiple workers 2025-06-19 13:40:53 -04:00
tcely 0e93af60d3 Merge branch 'main' into patch-7 2025-06-19 11:30:53 -04:00
tcely f4f345c656 Allow underscores 2025-06-19 10:54:08 -04:00
tcely cb08f475d0 Specify the encoding also 2025-06-19 10:48:05 -04:00
tcely 5ccd50799d fixup: formatting and syntax 2025-06-19 10:27:11 -04:00
tcely a016c8a9c9 Use str.translate 2025-06-19 10:24:35 -04:00
tcely d26a820e17 Round-trip through the encoder like slugify does for ASCII 2025-06-19 10:15:52 -04:00
tcely 9f5f35ce13 Add allow_unicode=True to slugify 2025-06-19 09:45:48 -04:00
tcely c2f7863a0f Show the targeted schedule on the sources page 2025-06-18 18:14:44 -04:00
tcely 6160e15781 Do not store True as a result 2025-06-18 16:56:58 -04:00
tcely ea88c7bedd Lock each Media instance to prevent racing 2025-06-18 16:07:42 -04:00
tcely b9d46ac36f Add running tasks 2025-06-18 13:36:31 -04:00
tcely 2ebcaf42ac Provide a string where it is expected 2025-06-18 12:26:03 -04:00
tcely 7a2155be7a Merge branch 'main' into patch-14 2025-06-18 10:11:23 -04:00
tcely 41b2642921 Create task queue configuration using sync.choices.TaskQueue 2025-06-18 09:29:17 -04:00
tcely 58e665f5db fixup: drop a useless comment 2025-06-18 09:17:15 -04:00
tcely 2962d612f5 Merge branch 'meeb:main' into patch-14 2025-06-18 09:14:49 -04:00
tcely 1107a1f4ed Merge branch 'main' into patch-4 2025-06-18 09:07:44 -04:00
tcely 4b064623a5 Merge branch 'main' into patch-refresh-formats 2025-06-18 08:57:02 -04:00
tcely ce5e84d385 Merge branch 'main' into patch-10 2025-06-18 08:49:24 -04: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
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 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
tcely f6b589bbb0 Log slightly more information when debugging 2025-06-15 14:48:20 -04:00
tcely bbf68517af Update views.py 2025-06-15 14:31:41 -04:00
tcely c4d8928029 Update signals.py 2025-06-15 14:29:01 -04:00
tcely a9701c5a5c Update tests.py 2025-06-15 14:24:00 -04:00
tcely 2422d9e56c Update reset-tasks.py 2025-06-15 14:22:09 -04:00
tcely 5a4379391b Migrate check_source_directory_exists to huey 2025-06-15 14:18:35 -04:00
tcely 4853123442 Don't use repeat for indexing tasks 2025-06-15 13:40:57 -04:00
tcely a5799912c9 fixup: remove pass 2025-06-15 13:30:24 -04:00
tcely f2aca1f1fa Use django_queryset_generator 2025-06-15 13:29:11 -04:00
tcely beff72bf48 Don't create a repeating indexing task in the CLI 2025-06-15 13:20:33 -04:00
tcely 276eca0d28 Don't create a repeating indexing task in the web UI 2025-06-15 13:16:23 -04:00
tcely 62ba1ed54a Schedule indexing tasks using huey 2025-06-15 13:09:26 -04:00
tcely 9dc1376acc fixup: match up the arguments 2025-06-15 11:58:51 -04:00
tcely bda66c6df7 Reset Huey tasks from the web UI 2025-06-15 11:54:25 -04:00