Commit 6770a6e7 authored by Andreas Schmidt's avatar Andreas Schmidt

Remove pausing of prrtTransmit.

parent 97c6921c
Pipeline #2822 passed with stages
in 1 minute and 40 seconds
......@@ -49,7 +49,6 @@ static inline prrtPacketLength_t deliver_packet(const PrrtSocket *s, void *buffe
bool PrrtSocket_pace(PrrtSocket *s, bool prepace) {
bool result = true;
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
PrrtPace_track_pause(s->prrtTransmitPace);
if (s->pacingEnabled && s->nextSendTime != 0) {
debug(DEBUG_DATATRANSMITTER, "About to check for pacing.");
prrtTimeDifference_t diff = 0;
......@@ -71,7 +70,6 @@ bool PrrtSocket_pace(PrrtSocket *s, bool prepace) {
} else {
usleep_nano(1);
}
PrrtPace_track_resume(s->prrtTransmitPace);
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
return result;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment