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 #636

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

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 2 Security Hotspots
Code Smell D 17 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint