firebase - Firebase 限制您多长时间?

标签 firebase swift3 firebase-remote-config

即使为 RemoteConfig 启用了调试,我仍然设法获得以下信息:

Error fetching remote config values Optional(Error Domain=com.google.remoteconfig.ErrorDomain Code=8002 "(null)" UserInfo={error_throttled_end_time_seconds=1483110267.054194})



这是我的调试代码:
let debug = FIRRemoteConfigSettings(developerModeEnabled: true)
FIRRemoteConfig.remoteConfig().configSettings = debug!

以上不应该防止节流吗?

throttle 错误会持续多久?

最佳答案

由于节流,我遇到了同样的错误。我在打电话 FIRRemoteConfig.remoteConfig().fetchWithExpirationDuration到期时间少于 60 秒。

要在测试期间立即解决此问题,请使用替代设备。 节流针对特定设备发生。例如从模拟器移动到设备。

目的不是让单个客户端每秒向服务器发送 fetch 请求。明智地使用它提供的开箱即用的缓存,仅在必要时才获取。

关于firebase - Firebase 限制您多长时间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41398168/

相关文章:

firebase - Flutter - 无法在初始化程序中访问实例成员 'remoteConfig'

javascript - Firebase onAuthStateChanged 在登录时被调用两次

swift - NSSharingService 不会编译归档

Firebase 远程配置 - "user in random percentile"与 key

android - Firebase RemoteConfig 如何为不同应用风格添加键值

ios - 具有存储属性的扩展

firebase - 我可以让 `firebase deploy` 在开始上传之前首先运行 `yarn build` 吗?

firebase - I/flutter(22027): MissingPluginException(No implementation found for method DocumentReference#setData on channel plugins. flutter.io/cloud_firestore)

Firebase 存储和无效的 HTTP 方法/URL 对

arrays - 根据数组中的值在字符串中搜索完全匹配