Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
subscriptions: fix the weight init issue caused by last commits
  • Loading branch information
perexg committed Apr 24, 2015
1 parent 4112e4b commit 03f044a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/subscriptions.c
Expand Up @@ -654,6 +654,8 @@ subscription_create

if (s->ths_prch)
s->ths_weight = profile_chain_weight(s->ths_prch, weight);
else
s->ths_weight = weight;

if (pro && pro->pro_restart)
s->ths_flags |= SUBSCRIPTION_RESTART;
Expand Down

0 comments on commit 03f044a

Please sign in to comment.