[sr-dev] git:4.2:11dc171a: kazoo : fork process with tcp option

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 2 13:54:19 CET 2015


Hello,

a short note to remember that when you backport a patch to a stable
branch to use 'git cherry-pick -x ...', because that keeps the reference
of initial commit in the message, making easier to analyze what patches
were backported or not.

  - http://kamailio.org/wiki/devel/git-commit-guidelines#backporting_commits

Cheers,
Daniel

On 30/12/14 15:21, Luis Azedo wrote:
> Module: kamailio
> Branch: 4.2
> Commit: 11dc171ae98212bb22321e03f3c10e15b6017a80
> URL: https://github.com/kamailio/kamailio/commit/11dc171ae98212bb22321e03f3c10e15b6017a80
>
> Author: lazedo <luis.azedo at factorlusitano.com>
> Committer: Luis Azedo <luis at 2600hz.com>
> Date: 2014-12-28T12:32:24Z
>
> kazoo : fork process with tcp option
>
> ---
>
> Modified: modules/kazoo/kazoo.c
>
> ---
>
> Diff:  https://github.com/kamailio/kamailio/commit/11dc171ae98212bb22321e03f3c10e15b6017a80.diff
> Patch: https://github.com/kamailio/kamailio/commit/11dc171ae98212bb22321e03f3c10e15b6017a80.patch
>
> ---
>
> diff --git a/modules/kazoo/kazoo.c b/modules/kazoo/kazoo.c
> index 2f96e8a..466919d 100644
> --- a/modules/kazoo/kazoo.c
> +++ b/modules/kazoo/kazoo.c
> @@ -276,7 +276,7 @@ static int mod_child_init(int rank)
>  
>  
>  	if (rank==PROC_MAIN) {
> -		pid=fork_process(1, "AMQP Manager", 0);
> +		pid=fork_process(1, "AMQP Manager", 1);
>  		if (pid<0)
>  			return -1; /* error */
>  		if(pid==0){
> @@ -284,7 +284,7 @@ static int mod_child_init(int rank)
>  		}
>  		else {
>  			for(i=0; i < dbk_consumer_processes; i++) {
> -				pid=fork_process(i+2, "AMQP Consumer", 0);
> +				pid=fork_process(i+2, "AMQP Consumer", 1);
>  				if (pid<0)
>  					return -1; /* error */
>  				if(pid==0){
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list