-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Mellanox] Fix select timeout in sfp event #9795
[Mellanox] Fix select timeout in sfp event #9795
Conversation
This pull request introduces 1 alert when merging b85af1e into d5b0261 - view on LGTM.com new alerts:
|
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.
please fix LGTM
@Junchao-Mellanox could you please clarify if this is required for 202111? |
a64e14f
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
This change shall not affect sonic-xcvrd unit test at all. So I did a rebase to see if it could fix the unit test issue for sonic-xcvrd. |
a64e14f
to
8aafeea
Compare
Hi @sujinmkang , could you please help review? |
- Why I did it Python select.select accept a optional timeout value in seconds, however, the value passes to it is a value in millisecond. - How I did it Transfer the value to millisecond. - How to verify it Manual test
- Why I did it Backport #9795 Python select.select accept a optional timeout value in seconds, however, the value passes to it is a value in millisecond. - How I did it Transfer the value to millisecond. - How to verify it Manual test
Why I did it
Python select.select accept a optional timeout value in seconds, however, the value passes to it is a value in millisecond.
How I did it
Transfer the value to millisecond.
How to verify it
Manual test
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)