firebase / firebase/firebase-functions-python

Implement RetryConfig for pubsub_fn.on_message_published decorator

未关闭
#132 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
feature-request
主要语言
Python
星标
167
派生
34
PR 合并指标
30 天内没有已合并 PR

描述

It looks plain `retry` boolean is supported, but not `RetryConfig` in order to specify backoff and max attempts.

Thanks.

贡献指南

打开贡献指南

调研方向

首先定位 pubsub_fn.on_message_published 装饰器以及现有的 retry 布尔值处理逻辑,然后找到 RetryConfig 的定义。跟踪 backoff 和最大尝试次数是如何表示的,并运行相关测试;当装饰器接受 RetryConfig 并应用这些设置时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend, cloud
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。