[Asterisk-Dev] cdr*sql
C. Maj
cmaj-SPAM at freedomcorpse.com
Sat May 21 12:03:25 MST 2005
On Sat, 21 May 2005, Kevin P. Fleming waxed:
> Matthew Simpson wrote:
>
> > Yes. That's probably going to be my next step. Right now I have a
> > script doing the DELETE's every 15 seconds with a LIMIT 500 to get it
> > under control, but I also want to make sure that the cdr_* modules can
> > deal with database "issues" without causing a chain reaction of failures.
>
> There is a patch in Mantis that is nearly ready for commit (may go in
> this weekend), which allows CDRs to be posted and freed by a background
> thread, rather than the call thread(s). This will also help your
> problem, since the background thread can easily wait for the table lock
> to be released without impacting call traffic.
It would be great if it could get some more testing,
especially from anyone who relies on ResetCDR() heavily
because I took a first shot at adding support for that in
the latest patch:
http://bugs.digium.com/view.php?id=3883
--Chris
--
Chris Maj, Rochester
cmaj_at_freedomcorpse_dot_com
Pronunciation Guide: Maj == May
More information about the asterisk-dev
mailing list