PRX / cms.prx.org

CMS API for PRX
https://cms.prx.org
GNU Affero General Public License v3.0
4 stars 2 forks source link

Don't unlock podcast so soon on feed import #602

Open cavis opened 2 years ago

cavis commented 2 years ago

At the end of a PodcastImport when the last episode completes, we unlock the Feeder podcast so it will start publishing the RSS to S3 again.

In reality, there are still a ton of audio/image callbacks coming into CMS that will trigger subsequent updates. Not to mention all the async processing/callbacks going on in feeder itself. For large imports, this tends to cause thousands+ of PublishFeedJobs to stack up in Feeder. And nearly all of them are redundant.

Instead, let's keep the podcast locked for longer. Bad ideas: