diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-22 08:45:49 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-22 08:45:49 -0500 |
| commit | eccc7e36113d5a2c21c711ab03acc86ec157755c (patch) | |
| tree | fbdec4469648545912cecdc0150adfb72f2088b5 /Biz/PodcastItLater/Core.py | |
| parent | 2335a6b8dc174e453ab6236493e5d6615ccc4879 (diff) | |
| parent | 3d1cee8fd1d8c97e72d0f5365ca0371e5676283e (diff) | |
Merge task t-1f9SnU7: Queue Status Improvements
Diffstat (limited to 'Biz/PodcastItLater/Core.py')
| -rw-r--r-- | Biz/PodcastItLater/Core.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Biz/PodcastItLater/Core.py b/Biz/PodcastItLater/Core.py index a2c1b3b..4a017cc 100644 --- a/Biz/PodcastItLater/Core.py +++ b/Biz/PodcastItLater/Core.py @@ -373,7 +373,10 @@ class Database: # noqa: PLR0904 SELECT id, url, email, status, created_at, error_message, title, author FROM queue - WHERE status IN ('pending', 'processing', 'error') + WHERE status IN ( + 'pending', 'processing', 'extracting', + 'synthesizing', 'uploading', 'error' + ) ORDER BY created_at DESC LIMIT 20 """) @@ -888,7 +891,10 @@ class Database: # noqa: PLR0904 title, author FROM queue WHERE user_id = ? AND - status IN ('pending', 'processing', 'error') + status IN ( + 'pending', 'processing', 'extracting', + 'synthesizing', 'uploading', 'error' + ) ORDER BY created_at DESC LIMIT 20 """, |
