Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

502 - Emojis + Long message makes page take too long to load #2157

@vinybk

Description

@vinybk

Steps to reproduce the problem

  1. Make a question with emojis and text long enough to show the "show full question" button
  2. Answer it
  3. Open a page showing it

or

  1. Make a question
  2. Answer it with emojis and text long enough to show the "show full answer" button
  3. Open a page showing it

Expected behaviour

Loads normally

Actual behaviour

Takes 5 extra seconds to load the page

Detailed description

When an user has many long questions/answer with emojis, the load time adds up and can surpass 60s, throwing a 502. Timeout can be increased to 120s on NGINX as a workaround.

Specifications

Retrospring 2024.1001.0 -> updated to 2025.0228.0, but haven't tested yet, will update the issue after testing
Ruby 3.2.3
Node v18.19.1

Multiple browsers (firefox, chrome...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues containing bug reports

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions