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

test_asyncore: Optimize capture_server() #93867

Merged
merged 1 commit into from
Jun 15, 2022
Merged

test_asyncore: Optimize capture_server() #93867

merged 1 commit into from
Jun 15, 2022

Commits on Jun 15, 2022

  1. test_asyncore: Optimize capture_server()

    Remove time.sleep(0.01) in test_asyncore capture_server(). The sleep
    was redundant and inefficient, since the loop starts with
    select.select() which also implements a sleep (poll for socket data
    with a timeout).
    vstinner committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    976bf0d View commit details
    Browse the repository at this point in the history