Skip to content

Delegated delivery, overloaded timeout error handling #1390

@svevang

Description

@svevang

A delegated delivery failed to complete when the call to Apple::PodcastDeliveryFile.wait_for_processing became wedged. There were no error level log lines due to 1) the way that API timeouts are handled in job error handling routine (they're assumed to come from episode asset timeouts) and 2) that this was a sync_blocks_rss == false) config.

So it looks like we need to:

  • ensure that errors are thrown for non-asset timeouts (esp. when those errors are multiplexed with the sync_blocks_rss)

Additionally, we have logic to handle 'extreme' timeouts in remote services, essentially triggering a new upload attempt when the current attempt takes 'a long time'. In order to automatically reattempt the upload and delivery stages for this wedged file processing means we need to extend this timeout handling in Apple::Publisher -- not just the asset processing/polling.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions