Skip to content

Conversation

@scw00
Copy link
Member

@scw00 scw00 commented May 30, 2019

link to #5580
link to #3056

@scw00 scw00 self-assigned this May 30, 2019
@scw00 scw00 added the UDP label May 30, 2019
@scw00 scw00 added this to the 9.0.0 milestone May 30, 2019
Copy link
Contributor

@duke8253 duke8253 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me.

#define SLOT_TIME HRTIME_MSECONDS(SLOT_TIME_MSEC)
#define N_SLOTS 2048

constexpr int UDP_PERIOD = 9;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we want to make this configurable? Under what conditions would I want to change it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. Do not change this period unless you really know what happen after changing. It might callback twice per loop for one continuation in wrong configuration. So I give a constexpr here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you really want to changing this period you might need to reconsider all of the continuations's order in udp's negative queue.

@maskit maskit mentioned this pull request Jun 24, 2019
12 tasks
@scw00
Copy link
Member Author

scw00 commented Jul 9, 2019

@zwoop Could you please review again ?

@maskit
Copy link
Member

maskit commented Jul 17, 2019

This is blocking merging QUIC branch, which will be a part of 9.0 release. Please review this as soon as possible..

@scw00 scw00 merged commit c815b17 into apache:master Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants