You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FlottformDatabase currently retains all connection data indefinitely until the server is restarted or the deleteEndpoint method is called. This can lead to memory bloat, especially in scenarios where connections are not explicitly closed or cleanup isn't performed. For example, the user establishes a new connection and for some reason he refreshes the page before sending anything -> the close method won't be called inside the class FlottformChannelHost and thuse the entry won't be deleted.
To address this issue, we need a mechanism to periodically remove inactive entries while ensuring no active connections are affected. The solution should leverage the lastUpdate field to determine inactivity.
Links / References
Further links on the topic
Tasks / Definition of Done
Implement the changes mentioned above
Test it
Further information
Inactive entries should be defined based on a configurable timeout period. For now that period is set to 30 minutes.
The text was updated successfully, but these errors were encountered:
Description
The
FlottformDatabase
currently retains all connection data indefinitely until the server is restarted or thedeleteEndpoint
method is called. This can lead to memory bloat, especially in scenarios where connections are not explicitly closed or cleanup isn't performed. For example, the user establishes a new connection and for some reason he refreshes the page before sending anything -> the close method won't be called inside the class FlottformChannelHost and thuse the entry won't be deleted.To address this issue, we need a mechanism to periodically remove inactive entries while ensuring no active connections are affected. The solution should leverage the lastUpdate field to determine inactivity.
Links / References
Further links on the topic
Tasks / Definition of Done
Further information
Inactive entries should be defined based on a configurable timeout period. For now that period is set to 30 minutes.
The text was updated successfully, but these errors were encountered: