Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

After login, Nextcloud hangs, browsers report long-running script #119

Description

@Rhywden

We currently have a huge user pool (1700+) with your chat module enabled. Upon login any user will encounter a freezing browser with the usual browser message that a long-running script is blocking everything. After stopping this script, Nextcloud will work as usual.

From profiling the browser performance after login, it seems to be the case that there are two forEach loops running and I'm guessing that it's thus looping twice (i.e. O(n²)) over all the users. Looks like this:

grafik

You can easily see where the script is engaging / blocking @ 12800 ms.

Currently we don't have a stand-alone XMPP server behind our NextCloud instance.

Basically: What can we do to have a XMPP chat without this blocking issue?

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