fix: 优化腾讯云账单同步限频

- 全局限制腾讯云API调用频率为每秒4次以内
- 对RequestLimitExceeded增加指数退避重试
- 补充限频回归测试并更新账单同步支持说明
This commit is contained in:
Logan.Li committed 2026-07-25 16:36:02 +08:00
1 parent 7bc416d22a
commit 3a3f77ea62
5 files changed
+95 -7

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ var (
},
{
Code: "cloud_billing_sync", Name: "云账单同步",
Description: "从云账号 AK 拉取昨日账单(按产品+地域),写入云账单管理;当前支持阿里云",
Description: "从云账号 AK 拉取昨日账单(按产品+地域),写入云账单管理;当前支持阿里云和腾讯云", // Logan.Li
Schedule: "每天 10:30", Category: "finops", Runnable: true, Enabled: true,
},
}
@@ -237,4 +237,4 @@ func findDef(code string) (Def, bool) {
}
}
return Def{}, false
}
}