Menu

#245 Use insert buffer for acc_db_request()

closed-accepted
modules (179)
5
2012-09-18
2012-09-17
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()

     
  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> vladut-paiu
    • status: open --> open-accepted
     
  • Vladut-Stefan Paiu

    Hello,

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

    Best Regards,
    Vlad

     
  • Vladut-Stefan Paiu

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

Log in to post a comment.