flashbots / flashbots/contender

cleanup localStorage in web dashboard

Open
#530 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
141
Forks
57
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

Over time, localhost:3001 may accumulate enough data in localStorage that the browser blocks it from storing any more, and the logs stop appearing in the UI.

**To Reproduce**

Spam via the web dashboard for several days.

**Expected behavior**

Logs should be cleared out whenever a session is removed, or the connection from the webpage to the webserver is dropped.

Contributor guide

Open the contributing guide

Research direction

Start at the web dashboard served through localhost:3001 and trace where localStorage records are written, sessions are removed, and the webpage connection is dropped. Reproduce the multi-day or repeated-use scenario, then verify that stored logs are cleared in both cleanup cases and continue appearing in the UI.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.