-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DT-951 DT-1012 SockJS Client - Add "roundTrips" and "timeout" parameters #2
DT-951 DT-1012 SockJS Client - Add "roundTrips" and "timeout" parameters #2
Conversation
…meout. They will be used for timeout calculation.
…rips is already passed in
General InformationTicket(s): DT-951 DT-1012 RM Checklist
Additional Information
Last updated on Friday, March 06 04:58 PM CST |
: PROTOCOLS[protocol].roundTrips; | ||
|
||
var to = this.timeout; | ||
if (to == null || to < 1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be == 0 instead of < 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
< 1 because timeout shouldn't be a negative number. if a negative number was passed in, it would be ignored and calculation would be done.
+1 |
+1 |
1 similar comment
+1 |
+10 |
QA +1 |
DT-951 DT-1012 SockJS Client - Add "roundTrips" and "timeout" parameters
rosie |
@bryonmarks-wf @jeffhilleman-wf @johnryan-wf @kerbyseeley-wf @tayloranderson-wf @travissanderson-wf