Firestore UI在后端最新时显示旧数据

发布于 2025-02-13 05:04:11 字数 1366 浏览 1 评论 0原文

删除Firestore收藏后突然开始烦恼。 Firebase Web控制台正在显示旧数据,而在我的测试服务器上运行的代码正在显示从TradingView(Webhook)接收到的新数据。

逻辑 每次都有新的贸易信号。数据存储在Firestore中,客户用数据侦听器检索数据。因此,我知道数据是新的还是旧的。

UNSYC屏幕截图 ==第一个证明== 发送信号是发送的

证明信号存储在Firestore DB中

证明Firestore DB UI未同步

==第二个证明== 证明信号再次发送

证明信号再次存储在Firestore DB中

证明Firestore DB UI不再同步

All of a sudden after deleting a collection Firestore started bugging.
Firebase web console is showing old data while the code running on my test server is showing new data, received from a tradingview(webhook).

LOGIC
each time there is a new trade signal. data is stored in Firestore and a client retrieves the data with a data listener. So I know if the data is new or old.

UnSYC screenshots
== FIRST PROOFS ==
proof signal is sent
proof signal is sent

proof signal is stored in firestore db
proof signal is stored in firestore db

proof firestore db UI is not synced
proof firestore db UI is not synced

== SECOND PROOFS ==
proof signal is sent again
proof signal is sent again

proof signal is stored in firestore db again
proof signal is stored in firestore db again

proof firestore db UI is not synced again
proof firestore db UI is not synced again

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文