Skip to content

The Spatial Room and Tracks List instantiate multiple web sockets on initialization #30

Description

@colinbdclark

During the TiMes performance, @Ulexus and I have noticed that there are multiple Web Socket connections per client—two are opened when the spatial room is loaded, and three are opened for the track list page.

Right now, we are instantiating multiple PerformanceTime instances at module scope, and when those modules are imported by other modules, we get multiple web sockets as a result. room.js and tracks.js should be refactored into classes that take a PerformanceTime as an argument to their constructors.

We also noticed that the iOS app is holding on to web sockets across tabs, but haven't yet had a chance to debug why.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions