firebase - 云函数 "call"API限制

标签 firebase google-cloud-functions

我想从 firebase 获取服务器时间,并且很多答案建议写入 firestore,然后使用 Timestamp 字段不是一个选项。

我正在考虑编写一个云函数来获取服务器时间,但是我检查了限制和配额文档,它提到 100 秒内有 16 次调用。

Quotas and limits

API calls (CALL) Calls to the "call" API 16 per 100 seconds

这是否意味着我在应用程序中每 100 秒调用可调用函数的次数不能超过 16 次?

最佳答案

不,您误解了该表。您要查找的速率限制是第一行:

Function invocations per second - The number of function invocations in a second. If exceeded, all functions will be paused until the next quota period

100,000,000 per 100 seconds

Call API 有所不同。

关于firebase - 云函数 "call"API限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59756272/

相关文章:

firebase - Cloud Function 已完成,状态为 : 'timeout' "

android - 从现有用户授权码获取 Google 刷新 token

node.js - 在 Firebase 中部署功能时出现 Firebase 未找到错误

javascript - firebase 函数和外部 API

javascript - AngularJS/Firebase : $scope data not rendering in view

android - 在 onActivityResult() 中获取 Firebase 邀请数据

firebase - 如果您不将参数添加到 Firebase Analytics 控制台,参数是否会被存储?

javascript - 检查注册时的 firestore 身份验证中是否已存在电子邮件(Angular)

ios - 使用 Flutter firebase_core 时应用程序崩溃 - 原因 : 'App name can only contain alphanumeric, hyphen (-), and underscore (_) characters'

go - 在Golang中计划Google Cloud Functions?