Commit a3820cf8 authored by Andreas Schmidt's avatar Andreas Schmidt

Use 30ms as deadline for receive_asap_wait.

parent 747b9e32
Pipeline #2804 passed with stages
in 1 minute and 41 seconds
......@@ -322,7 +322,7 @@ int32_t PrrtSocket_receive_asap_wait(PrrtSocket *s, void *buf_ptr, struct sockad
PrrtPace_track_start(s->appDeliverPace);
PrrtPacket *packet;
do {
struct timespec deadline = abstime_from_now(10 * 1000);
struct timespec deadline = abstime_from_now(30 * 1000);
packet = PrrtPacketDeliveryStore_get_packet_timedwait(s->packetDeliveryStore, 0, MAX_TIMESTAMP, &deadline);
if (packet == NULL && errno == ETIMEDOUT) {
errno = 0;
......
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