Skip to content

Retries on ingest_upload errors #13

@curlup

Description

@curlup

By default

On rare occasions, a function might exit prematurely due to an internal error, and by default the function might or might not be automatically retried.

More typically, a background function may fail to successfully complete due to errors thrown in the function code itself. 

I suggest we add retry to the deployment:

script: bash deploy/pubsub.sh ingest_upload uploads .env.staging.yaml
on:
branch: master
- provider: script
script: bash deploy/pubsub.sh ingest_upload uploads .env.prod.yaml

Here are best practices on retries:
https://cloud.google.com/functions/docs/bestpractices/retries#functions-tips-infinite-retries-python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions