11
Views
2
Comments
[SSE Push Event Hub] Force to shutdown HeartBeat extension
sse-server-event-hub-and-client
Service icon
Forge asset by Nuno Damaso
Application Type
Service

Hey y'all,


Is it possible to close connection with HeartBeat? I have this huge amount of time...and sometimes I got days values...Is it possible to control this?


Many thanks

2024-09-08 11-13-40
Nuno Damaso
 
MVP

Hi Joel,

This log of the heartbeat is how long your client was connected to the server. 


I don't quite understand the request, if you shut it down, then why use SSE?


2024-09-08 11-13-40
Nuno Damaso
 
MVP

Adding to the above, if you just want to drop hiddle sessions (like navigating away from the tab/browser), the latest update on the reactive listener supports this:

https://www.outsystems.com/forge/component-versions/13709/version/0/platform/

Release notes:

MSFTEventSource now supports an "OpenWhenHidden" flag, true by default. 

When false, the SSE will disconnect when a tab loses focus.


Im not sure if this is what you're looking for, have in mind that SSE persists a client/server connection.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.