mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 07:16:11 -05:00
Fixed stupid bug. Labels are the wrong way around.
This meant limit is set to HIGH (50msg/sec) when it should be LOW (5msg/sec) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5723 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7272b7e768
commit
83795a7c7d
@ -134,14 +134,14 @@ uint32_t bdNode::setNodeDhtMode(uint32_t dhtFlags)
|
||||
{
|
||||
default:
|
||||
case BITDHT_MODE_TRAFFIC_LOW:
|
||||
mMaxAllowedMsgs = BDNODE_HIGH_MSG_RATE;
|
||||
break;
|
||||
case BITDHT_MODE_TRAFFIC_HIGH:
|
||||
mMaxAllowedMsgs = BDNODE_LOW_MSG_RATE;
|
||||
break;
|
||||
case BITDHT_MODE_TRAFFIC_MED:
|
||||
mMaxAllowedMsgs = BDNODE_MED_MSG_RATE;
|
||||
break;
|
||||
case BITDHT_MODE_TRAFFIC_HIGH:
|
||||
mMaxAllowedMsgs = BDNODE_HIGH_MSG_RATE;
|
||||
break;
|
||||
case BITDHT_MODE_TRAFFIC_TRICKLE:
|
||||
mMaxAllowedMsgs = BDNODE_TRICKLE_MSG_RATE;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user