Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTL on NodeDB[Feature Request]: #445

Open
N1obu opened this issue Feb 7, 2024 · 1 comment
Open

TTL on NodeDB[Feature Request]: #445

N1obu opened this issue Feb 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@N1obu
Copy link

N1obu commented Feb 7, 2024

Platform

ESP32

Description

Currently MQTT nodes lock-up with large node databases. Work around is to soft reset the node and quickly reset NodeDB.

Request to set a TTL on the NodeDB to about 60 minutes (RF and MQTT nodes). If nodes aren't heard within the 60 minutes - They're dropped from the DB.

@N1obu N1obu added the enhancement New feature or request label Feb 7, 2024
@GUVWAF
Copy link
Member

GUVWAF commented Feb 11, 2024

Currently when the NodeDB is full the oldest gets removed already. If there are more nodes than fit in the NodeDB, it will always remain full when traffic from other nodes keep coming; this will not be solved with a TTL.

Besides, 60 min. would be way too fast for most usage. I do not want to loose my nodes at home when I take my node to work, where I cannot reach them. Also, nodes in Router role have a default periodic broadcast rate as low as 12 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants