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

Ignore users with no limits

parent 72a51204
No related branches found
No related tags found
No related merge requests found
......@@ -245,12 +245,15 @@ sub server_read {
$trafficClass = 1;
}
# NK: FIXME for testing
# 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;
}
# Build user
......
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