subscriptions: send GRACE also for the MUX subscriptions
This commit is contained in:
parent
adc59990be
commit
51ea193f2b
1 changed files with 4 additions and 1 deletions
|
@ -779,9 +779,12 @@ subscription_create_from_mux
|
|||
sm = streaming_msg_create_data(SMT_START, ss);
|
||||
streaming_target_deliver(s->ths_output, sm);
|
||||
|
||||
r = (mi->mi_get_grace ? mi->mi_get_grace(mi, mm) : 0) + 20;
|
||||
sm = streaming_msg_create_code(SMT_GRACE, r);
|
||||
streaming_target_deliver(s->ths_output, sm);
|
||||
|
||||
pthread_mutex_unlock(&mi->mi_output_lock);
|
||||
|
||||
r = (mi->mi_get_grace ? mi->mi_get_grace(mi, mm) : 0) + 20;
|
||||
gtimer_arm(&s->ths_receive_timer, mux_data_timeout, s, r);
|
||||
|
||||
return s;
|
||||
|
|
Loading…
Add table
Reference in a new issue