#245 Use insert buffer for acc_db_request()

closed-accepted
modules (179)
5
2012-09-18
2012-09-17
Ryan Bullock
No

This patch takes advantage of insert buffers when acc_db_request() is called from the script and the table is set to the currently configured acc or missed_calls table.

We manually call acc_db_request for failed calls so that we may update accounting variables before saving the call record. This gave us a big boost in performance.

Discussion

  • Ryan Bullock
    Ryan Bullock
    2012-09-17

    Use insert buffers in acc_db_request()

     
    Attachments
    • assigned_to: nobody --> vladut-paiu
    • status: open --> open-accepted
     
  • Hello,

    Thanks for the patch, it has been applied in OpenSIPS trunk.

    Best Regards,
    Vlad

     
    • status: open-accepted --> closed-accepted