Commit 6a0ceb47 authored by Samuel Debionne's avatar Samuel Debionne

Fix saving statistics to file

parent 70fb286f
Pipeline #7678 passed with stages
in 12 minutes and 10 seconds
......@@ -2145,7 +2145,8 @@ void CtSaving::SaveContainer::writeFile(Data &aData,HeaderMap &aHeader)
Timestamp diff = end_write - start_write;
DEB_TRACE() << "Write took : " << diff << "s";
writeFileStat(aData, start_write, end_write, write_size);
if (m_log_stat_enable)
writeFileStat(aData, start_write, end_write, write_size);
}
void CtSaving::SaveContainer::writeFileStat(Data& aData, Timestamp start, Timestamp end, long wsize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment