exoplatform / chat-application

Chat application
GNU Affero General Public License v3.0
38 stars 57 forks source link

fix: stop retrieving online users when some requests are pending - EXO-65044 #632

Closed ahamdi closed 1 year ago

ahamdi commented 1 year ago

When client OS goes suspended or there is issue connecting to eXo platform server, the requests retriving online users do not stop and are queued on the browser. Once the connection is re-established, all those requests are processed at once causing an unnecessary workload on the server, and sometimes they causing server AND client browser hanging. The fix limits the number of unfinished requests to 3 to make sure it waits before resending new request

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication