Skip to content

Commit

Permalink
Use graphite_push_period instead of clickhouse period (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-dead authored Sep 26, 2024
1 parent 078047e commit 9e04fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics/graphite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,6 @@ void graphite_push_thread() {
logger << log4cpp::Priority::DEBUG << "Graphite data pushed in: " << graphite_thread_execution_time.tv_sec
<< " sec " << graphite_thread_execution_time.tv_usec << " microseconds\n";

boost::this_thread::sleep(boost::posix_time::seconds(fastnetmon_global_configuration.clickhouse_metrics_push_period));
boost::this_thread::sleep(boost::posix_time::seconds(fastnetmon_global_configuration.graphite_push_period));
}
}

0 comments on commit 9e04fd5

Please sign in to comment.