mainframe.ingestion¶
Bounded retries of durably accepted packages, independent of the RSS feed.
Attributes¶
Functions¶
|
Lock one due package at a time; retain failures with bounded backoff. |
|
Module Contents¶
- mainframe.ingestion.retry_ingestion(engine: sqlalchemy.Engine, pypi_client: mainframe.pypi.PyPIClient) None[source]¶
Lock one due package at a time; retain failures with bounded backoff.
- mainframe.ingestion.retry_package(session: sqlalchemy.orm.Session, pending: mainframe.models.orm.IngestionRetry, pypi_client: mainframe.pypi.PyPIClient, now: datetime.datetime) str[source]¶