即使为 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/