From 9cadf358e89410e475222e8a76a9e20056cf6119 Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Fri, 31 Jan 2025 12:01:36 -0500 Subject: [PATCH] Add changeset for SSE closeout change --- .changeset/nice-lizards-mate.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/nice-lizards-mate.md diff --git a/.changeset/nice-lizards-mate.md b/.changeset/nice-lizards-mate.md new file mode 100644 index 00000000..0e19f927 --- /dev/null +++ b/.changeset/nice-lizards-mate.md @@ -0,0 +1,5 @@ +--- +'squareone': minor +--- + +The Times Square UI now closes its connection to the `/times-square/pages/:page/html/events?` SSE endpoint once the page instance's execution status is "complete" and the HTML hash is computed. With this change, the Times Square UI reduces its ongoing load on the API and also reduces network usage. The HTML page will still update to the latest version because the iframe component pings the Times Square `pages/:page/htmlstatus?` endpoint. We may back this off or convert the page update to an opt-in future in the future to further reduce network and API load from the front-end.