Hi,

Just a short note: plz avoid "magic numbers" in future. E.g.:
if(db_insert_mode==1 && c->db_funcs.insert_delayed!=NULL) {


2014-08-20 16:45 GMT+04:00 Lucian Balaceanu <[email protected]>:

>  Hi Alexandr,
>
> I will do it.
>
> Thank you,
> Lucian
>
>
> On 08/20/2014 02:44 PM, Alexandr Dubovikov wrote:
>
> Hi Lucian,
>
> for me it's ok. Should I apply the patch or you will do it by self ?
>
> Wbr,
> Alexandr
>
> On 8/20/2014 1:17 PM, Lucian Balaceanu wrote:
>
> Hi,
>
> We would like to propose a patch for the sipcapture module where we retry
> a write to the homer database in case the first attempt fails. This proves
> useful under heavy loads.
> We add the insert_retries parameter to limit the maximum number of write
> retries and also the insert_retry_timeout as a time limit for the retry.
>
> Thank you,
> Lucian Balaceanu
>
>
>
>
> _______________________________________________
> sr-dev mailing 
> [email protected]http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
>
> _______________________________________________
> sr-dev mailing 
> [email protected]http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
>
> _______________________________________________
> sr-dev mailing list
> [email protected]
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>


-- 
Best regards,
Alekzander Spiridonov
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to