Opened 6 years ago

Closed 5 years ago

#3225 closed project-idea (fixed)

Open several tabs with chrome makes the UI freeze

Reported by: tardyp Owned by:
Priority: major Milestone: 0.9.0b1
Version: master Keywords: web, simple


Chrome has maximum 6 http connection per server at the same time.

Our current choice of using SSE is counting one connection. As the SSE connection stays open when switching tabs, it is easy to understand that you cannot open more than 6 tabs with buildbot on it, and then you are out of connections.

We should use page visibility feature of html5:

  • detect when the current tab is not visible anymore, and stop the sse connection.
  • restart sse connection when the page gets visible again, and reload all the data that were watched using the bind() api of buildbotservice.

Change History (4)

comment:1 Changed 6 years ago by tardyp

This bug is about workarounding limitation of current SSE base implementation, waiting for #3148 is resolved, which is a far bigger project.

comment:2 Changed 6 years ago by sa2ajj

comment:3 Changed 6 years ago by tardyp

Dont close. The PR does not resolve the issue, looks like it lower the impact though, but there is still something weird.

comment:4 Changed 5 years ago by tardyp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.