mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3121] [feature]: add message history limit to realtime #1029
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1029
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jun 7, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3121
Is there an existing issue for this?
Summary
A history limit setting that we can change through the settings. The settings goal is to limit how many messages can be in message history of realtime responses like WebSocket. For example, if we set history limit to 1000, Hoppscotch will only keep the last 1000 message in history. More older messages will be removed.
Why should this be worked on?
In things like WebSocket, we may get tens/hundreds of messages per second, Hoppscotch creates a new element on the browser page for each of them and they all consume memory. Since Hoppscotch is not deleting previous messages, it may end up with browser tab becoming unresponsive and huge memory consume.
