Print the count of forcibly finalized records before doing it as it may take a long time to complete.
git-svn-id: http://voip.null.ro/svn/yate@2825 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
6857c9b34b
commit
58ea5179a6
|
@ -395,9 +395,9 @@ bool CdrHandler::received(Message &msg)
|
|||
Lock lock(s_mutex);
|
||||
if (m_type == EngHalt) {
|
||||
unsigned int n = s_cdrs.count();
|
||||
s_cdrs.clear();
|
||||
if (n)
|
||||
Debug("cdrbuild",DebugWarn,"Forcibly finalized %u CDR records.",n);
|
||||
Debug("cdrbuild",DebugWarn,"Forcibly finalizing %u CDR records.",n);
|
||||
s_cdrs.clear();
|
||||
return false;
|
||||
}
|
||||
bool track = true;
|
||||
|
|
Loading…
Reference in New Issue