Skip to content

[bug] Chats holds to load history for some time until any action since 5.0 version #26361

@ankar84

Description

@ankar84

Description:

Since 5.0 I consider that some chats are loading history for a long time (some even infinite).
But on any action, history is loaded immediately.

Steps to reproduce:

  1. Search user you don't have recent talk (for easy reproduce, that could be any chats in fact)
  2. Click to start conversation with that user
  3. Chat history is loading even if there is no history and it as a brand new DM

Expected behavior:

Chats open fast like it was on a pre 5.0 versions

Actual behavior:

image
From opens server
load-history01

Server Setup Information:

  • Version of Rocket.Chat Server: 5.0.0
  • Operating System: OL8
  • Deployment Method: docker
  • Number of Running Instances: 3
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v14.19.3
  • MongoDB Version: 4.4.12 / wiredTiger (oplog Enabled)

Client Setup Information

  • Desktop App or Browser Version: Chrome 103
  • Operating System: Windows 10

Additional context

I see it on open.rocket.chat as well

Relevant logs:

No logs in moment of loading...

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