[Enhancement]: variation in execution minute of hourly podcast RSS refreshes #1864

Closed
opened 2026-04-25 00:00:37 +02:00 by adam · 2 comments
Owner

Originally created by @xo9agq46a8k on GitHub (Apr 6, 2024).

Describe the feature/enhancement

OPML imported podcasts appear to default to refreshing at the top of each hour, which in my case (500+ feeds) resulted in ABS web UI becoming super slugish for the first few of minutes of each hour. How about having them default to refreshing based on the createdAt minute? Such that a createAt timestamp in the podcasts table of "2024-04-05 13:43:22.012 +00:00" would receive an autoDownloadSchedule value of "43 * * * *"? Or perhaps just a random minute value to maximally spread out the tasks of feed refreshing and podcast downloading?

To solve the problem in my specific case I executed the following SQL against the database to randomize the minute of each refresh. I had it generate a number between 8 and 58 assuming those were perhaps the minutes of lightest load on the network/servers. Thanks for reading my feature request!
UPDATE podcasts SET autoDownloadSchedule = (8 + (ABS(RANDOM()) % 51)) || ' * * * *';

Originally created by @xo9agq46a8k on GitHub (Apr 6, 2024). ### Describe the feature/enhancement OPML imported podcasts appear to default to refreshing at the top of each hour, which in my case (500+ feeds) resulted in ABS web UI becoming super slugish for the first few of minutes of each hour. How about having them default to refreshing based on the createdAt minute? Such that a createAt timestamp in the podcasts table of "2024-04-05 13:43:22.012 +00:00" would receive an autoDownloadSchedule value of "43 * * * *"? Or perhaps just a random minute value to maximally spread out the tasks of feed refreshing and podcast downloading? To solve the problem in my specific case I executed the following SQL against the database to randomize the minute of each refresh. I had it generate a number between 8 and 58 assuming those were perhaps the minutes of lightest load on the network/servers. Thanks for reading my feature request! `UPDATE podcasts SET autoDownloadSchedule = (8 + (ABS(RANDOM()) % 51)) || ' * * * *';`
adam added the enhancement label 2026-04-25 00:00:37 +02:00
adam closed this issue 2026-04-25 00:00:38 +02:00
Author
Owner

@nichwall commented on GitHub (Apr 6, 2024):

Duplicate of https://github.com/advplyr/audiobookshelf/issues/2312

@nichwall commented on GitHub (Apr 6, 2024): Duplicate of https://github.com/advplyr/audiobookshelf/issues/2312
Author
Owner

@advplyr commented on GitHub (Apr 6, 2024):

Duplicate of https://github.com/advplyr/audiobookshelf/issues/2312

@advplyr commented on GitHub (Apr 6, 2024): Duplicate of https://github.com/advplyr/audiobookshelf/issues/2312
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1864