Skip to content

Commit

Permalink
Changing sys stat timer default from 30s to 10s
Browse files Browse the repository at this point in the history
Signed-off-by: Gautam Venkataramanan <gautam.chennai@gmail.com>
  • Loading branch information
gautvenk committed Jan 15, 2021
1 parent 17ff1bf commit dc2b61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent-ovs/lib/Agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void Agent::setProperties(const boost::property_tree::ptree& properties) {

sysStatsEnabled = properties.get<bool>(OPFLEX_STATS_SYSTEM_ENABLED, true);
sysStatsInterval =
properties.get<long>(OPFLEX_STATS_SYSTEM_INTERVAL, 30000);
properties.get<long>(OPFLEX_STATS_SYSTEM_INTERVAL, 10000);
if (sysStatsInterval <= 0) {
sysStatsEnabled = false;
}
Expand Down

0 comments on commit dc2b61a

Please sign in to comment.