Skip to content

Fix duplicate metrics server connections - #222

Merged
ravjotbrar merged 3 commits into
mainfrom
duplicate-metrics-servers
Feb 13, 2026
Merged

ravjotbrar merged 3 commits into
mainfrom
duplicate-metrics-servers

Conversation

@ravjotbrar

Copy link
Copy Markdown
Collaborator

Description

Duplicate metrics servers were being created due to reconnects in Valkey Admin. Added a guard to ensure metrics processes are only spawned once per connection. In addition, I added a shutdown function in the connection/close endpoint so the process doesn't rely on electron to shutdown.

@ravjotbrar
ravjotbrar merged commit 658e022 into main Feb 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants