Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

4.0.1 #27

Merged
merged 9 commits into from
Aug 14, 2018
Merged

4.0.1 #27

merged 9 commits into from
Aug 14, 2018

Conversation

TejasQ
Copy link
Contributor

@TejasQ TejasQ commented Aug 14, 2018

Why

Need correct polling spec.

@contiamo-ci
Copy link

contiamo-ci commented Aug 14, 2018

Warnings
⚠️

❗ Big PR

Generated by 🚫 dangerJS

@TejasQ TejasQ requested a review from fabien0102 August 14, 2018 08:35
@TejasQ TejasQ self-assigned this Aug 14, 2018
@@ -201,7 +201,7 @@ class ContextlessPoll<TData, TError> extends React.Component<
...requestOptions,

headers: {
Prefer: `wait=${wait};${lastPollIndex ? `index=${lastPollIndex}` : ""}`,
Prefer: `wait=${wait}s;${lastPollIndex ? `index=${lastPollIndex}` : ""}`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the wait key inside the header among people using this library? If not, waitFor sounds more readable.

Copy link
Contributor Author

@TejasQ TejasQ Aug 14, 2018

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense - for such a small naming difference we can leave it as it is.

@TejasQ TejasQ merged commit f800395 into master Aug 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants