Skip to content

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

Merged
liat-grozovik merged 1 commit intosonic-net:202012from
Junchao-Mellanox:sel-tim-202012
Jan 19, 2023
Merged

[202012][Mellanox] Fix select timeout in sfp event#13347
liat-grozovik merged 1 commit intosonic-net:202012from
Junchao-Mellanox:sel-tim-202012

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