Skip to content

Commit

Permalink
Merge "Agent class has a local variable send_ratelimit which is not a…
Browse files Browse the repository at this point in the history
…ssined valuei. The value should be the one set in the config file and read into the agent_params class. Therefore it takes a default value of 0. Fix is to assign the value to the value in AgentParams class. Closes-Bug: #1637057" into R3.0
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Nov 21, 2016
2 parents 324d9b5 + c2e555c commit 66d23cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vnsw/agent/cmn/agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ void Agent::CopyConfig(AgentParam *params) {
flow_del_tokens_ = params_->flow_del_tokens();
flow_update_tokens_ = params_->flow_update_tokens();
tbb_keepawake_timeout_ = params_->tbb_keepawake_timeout();
send_ratelimit_ = params_->sandesh_send_rate_limit();
}

DiscoveryAgentClient *Agent::discovery_client() const {
Expand Down

0 comments on commit 66d23cd

Please sign in to comment.