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

[202012][Mellanox] Fix select timeout in sfp event #13347

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

Junchao-Mellanox
Copy link
Collaborator

@Junchao-Mellanox Junchao-Mellanox commented Jan 12, 2023

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

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@Junchao-Mellanox
Copy link
Collaborator Author

Hi @qiluo-msft , could you please help review? It is a backport of PR #9795

@keboliu keboliu requested a review from prgeor January 13, 2023 09:39
@liat-grozovik liat-grozovik merged commit 46a774e into sonic-net:202012 Jan 19, 2023
@liat-grozovik liat-grozovik changed the title [202012] [Backport] [Mellanox] Fix select timeout in sfp event [202012][Mellanox] Fix select timeout in sfp event Jan 19, 2023
@Junchao-Mellanox Junchao-Mellanox deleted the sel-tim-202012 branch February 1, 2023 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants