Closed
Description
Currently, you can't pass failure policy to firebasefunctions which means you cant deploy retryable functions with firebase-tools
.
Not sure I'll have time to submit a PR but my two-cents on the API would be.
exports.webhookAsia = functions
.region('asia-northeast1')
.failurePolicy({ retry: true }) // set retry on failure to true
.user.onCreate((req, res) => {
res.send("Hello");
});
NOTE the gcloud functions api expects the failure policy to be formed - assume this is to future proof retry options.
{ failurePolicy: { retry: {}}}
Metadata
Metadata
Assignees
Labels
No labels