lbalaceanu left a comment (kamailio/kamailio#4373)

Hi everyone, I finally updated the code for this redis sentinels. It works for 
us. Please review and comment.



I have one question though. In tests, on Kamailio startup with fork=no I see 
the db_do_init() being called 3 times for a process that on the long run 
becomes the stand-alone receiver (kamctl ps). I see these are: 

1. fix_rls -> save_fixup -> domain_fixup 
2. main_loop -> init_child(PROC_SIPINIT) -> db_redis_init
3. main_loop -> init_child(PROC_POSTCHILDINIT) -> db_redis_init

What is this PROC_POSTCHILDINIT? How many connections to db_redis should be 
created in this case for the said process? 1 or 3? I am asking because at some 
point in set_con_details() I am actually changing con->id->host/ con->id->port 
details.

Thank you

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4373#issuecomment-3381903932
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4373/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to