Skip to content
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

Remove the delay on data sessions #1549

Closed

Conversation

joeljfischer
Copy link
Contributor

@joeljfischer joeljfischer commented Feb 7, 2020

Fixes #1240

Recreates #1385, which was reverted

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Smoke tests were performed with the following scenarios:

  1. 6 apps were forced to connect with this branch on the control protocol repeatedly.
  2. 13 apps were forced to connect with this branch on the multisession protocol repeatedly.

Summary

This PR updates the IAP transport to only delay apps from connecting with their retry delay when the control session is being used for connection, not when the multisession protocol (direct to data session) is being used.

Changelog

Bug Fixes
  • Connecting to newer head units using the multisession protocol is sped up.

CLA

* This means that multi-session connections will not be delayed
@joeljfischer joeljfischer added bug A defect in the library transport-iap Relating to the primary IAP transport labels Feb 7, 2020
@joeljfischer
Copy link
Contributor Author

@kshala-ford @mrapitis This PR removes the data session delay, which was planned for v6.4.0 but removed due to concerns. Please do additional testing with it if you can, it would be nice to add it to the v6.6.0 or v6.7.0 release this year.

@joeljfischer joeljfischer self-assigned this Feb 7, 2020
@ghost
Copy link

ghost commented Feb 7, 2020

@joeljfischer thank you. I was going to get in contact with you about this PR. My observations from testing were that the first versions with multisession suffer the most compared to the most recent builds to be practically not affected at all. We will do some more thorough testing to confirm. Eventually we can reduce the delay for head units running Core 4.x and immediately connect on Core 5 and higher (expecting that identifying Core is possible with EAAccessory data only).

@joeljfischer joeljfischer deleted the bugfix/issue-1240-remove-data-session-delay branch January 12, 2021 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library transport-iap Relating to the primary IAP transport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant