Skip to content
Snippets Groups Projects
Commit 9299b4b9 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Don't rate limit users if they don't have limits

parent 38147bb9
No related branches found
No related tags found
No related merge requests found
......@@ -245,14 +245,11 @@ sub server_read {
$trafficClass = 1;
}
# FIXME: NK - better way?
# If we don't have rate limits, short circuit
if (!defined($trafficLimitTx)) {
$trafficLimitTx = 1000;
return;
}
if (!defined($trafficLimitRx)) {
$trafficLimitRx = 200;
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment