以编程方式激活 Firebase 云功能中的重试 [英] Activate retry in firebase cloud function programmatically

查看:18
本文介绍了以编程方式激活 Firebase 云功能中的重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在部署 Firebase 云功能,以通过持续部署监听 Firestore 中的变化.

i'm deploying firebase cloud functions to listen on changes in our firestore via continuous deployment.

我只能找到一种方法来激活重试手动.这与我们的 cd 方法相反.

I can only find a way to activate retries manually. Which goes contrary to our cd approach.

查看正常的gcp 云函数 部署时可以给出重试标志.但我在 firebase-cli 或 firebase-functions 接口 (2.1.0) 中找不到类似的选项

Looking at the normal gcp cloud functions the retry flag can be given when deploying. But i cannot find a similar option in the firebase-cli or the firebase-functions interface (2.1.0)

关于如何解决这个问题的任何提示?卡斯滕

Any hints on how to solve this? Carsten

推荐答案

目前没有类似的使用 Firebase CLI 部署的选项.

There is currently no similar option for deployment using the Firebase CLI.

这是 Firebase 团队正在处理的事情,敬请期待更新.

This is something being worked on by the Firebase team, so stay tuned for updates.

这篇关于以编程方式激活 Firebase 云功能中的重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆