-
Notifications
You must be signed in to change notification settings - Fork 66
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
don't kick if data rate is at threshold #232
base: master
Are you sure you want to change the base?
don't kick if data rate is at threshold #232
Conversation
@PolynomialDivision Can this be merged please? |
I don't understand the benefit? You can just set the threshold to a higher value and it has the same effect? |
I just checked the docs again and they describe the current behaviour. However, the log entry is misleading then as it says "below" while it should say "at or below". @HarvsG What do you think about just changing the log message? |
Current behaviour is broken, because the default setting is a commonly used data rate, so clients are kicked uneccessarily |
Actually it seems to be intentional. From what I understand how the logic goes: If the client is at the basic rate, assume it's inactive and can be kicked. i.e. kick them so that they can roam, they will rejoin if necessary anyway? (not sure if my understanding is correct) DAWN/src/storage/datastorage.c Line 566 in e036905
|
I don't think it's a safe assumption because some IoT devices do transmit at that data rate. |
@PolynomialDivision I think this PR is a no-brainer. The log message says "below limit" while it's not in fact below. Maybe you can reconsider it? |
An alternative (and non-breaking) change would be to change the log statement to say "Equal to or below limit". |
Fixes #231