Commit Graph
2875 Commits
Author SHA1 Message Date
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
tcely 9698489388 Reset Huey tasks from the CLI 2025-06-15 11:49:10 -04:00
tcely 98f5d45391 Accept queue name strings as well 2025-06-15 11:29:12 -04:00
tcely 4078308b97 Merge branch 'meeb:main' into patch-7 2025-06-15 11:11:11 -04:00
tcely 97ef9e2f27 fixup: return the results 2025-06-15 11:07:58 -04:00
tcely 314e3596d2 Add the h_q_reset_tasks function
This is a better way than just removing the data while the consumer is running.
2025-06-15 11:03:54 -04:00
meeb f5a71592fc Merge pull request #1109 from tcely/patch-4
Migrate some tasks to `huey`
2025-06-15 21:56:37 +10:00
tcely f0fc4737f4 Merge branch 'meeb:main' into patch-4 2025-06-15 07:28:29 -04:00
tcely 2c203572a2 Rename exponential_backoff to dynamic_retry 2025-06-15 07:27:47 -04:00
tcely a4040928be Print only a list of keys 2025-06-15 06:27:34 -04:00
tcely 94b71cbfb9 Allow custom back off functions 2025-06-15 06:22:18 -04:00