firebase - Firestore AdminSDK 重试超时
问题描述
我有一个使用 admin sdk 的节点服务器来监听文档的更改,然后写入日志。运行 5 - 10 分钟后出现这些错误。
(node:1088) UnhandledPromiseRejectionWarning: Error: Retry total timeout exceeded before any response was received
at repeat (C:\connect2sql\node_modules\google-gax\build\src\api_callable.js:215:26)
at Timeout._onTimeout (C:\connect2sql\node_modules\google-gax\build\src\api_callable.js:243:25)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
任何想法如何延长超时或加速 google-gax?
解决方案
推荐阅读
- c# - Kotlin:如何在 kotlin 中使用异步读取方法和读取结束回调方法实现异步套接字连接?
- javascript - 在 HTML 画布图像上绘制固定框
- npm - 即使在退出代码 1 之后继续运行脚本
- vhdl - 当比率是某个随机分数时设计时钟分频器
- python - 通过过滤器获取DataFrame的多列(pandas.filter `like`对于多个字符串)
- gradle - 无法在 Eclipse 中创建 gradle 项目
- django - DRF 更新或创建类型错误
- java - 使用接口从多个类添加 Java
- python - np where 有两个条件并首先满足
- parallel-processing - dask_ml.model_selection.GridSearchCV 关于并行计算的问题