elonen / elonen/lanscatter

Gradually decrease "connecting..." log message frequency on peers

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Peer currently logs pretty frequently when it doesn't get a websocket connection to master. This can fill up RAM/log with unnecessary information. Fix: gradually decrease frequency it writes that log message (to min once per 30min) and then reset the timer when something else happens.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the peer websocket connection code and the "connecting..." log message. Trace how connection failures and other peer events are handled; done means repeated failures are logged no more often than once per 30 minutes, while another event resets the timer.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.