Skip to content

Commit

Permalink
Fix flex counters logic to covert poll interval to seconds from mS by…
Browse files Browse the repository at this point in the history
… 1000 divition and not multiplication
  • Loading branch information
noaOrMlnx committed Aug 2, 2021
1 parent f56a39e commit bb95461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncd/FlexCounter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ void FlexCounter::runPlugins(
{
std::to_string(counters_db.getDbId()),
COUNTERS_TABLE,
std::to_string(m_pollInterval * 1000)
std::to_string(m_pollInterval / 1000)
};

std::vector<std::string> portList;
Expand Down

0 comments on commit bb95461

Please sign in to comment.