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

Retry _configure_option to fix IOError caused by not-ready sys files #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

troelsim
Copy link

Address #1 by retrying _configure_option 3 times before aborting.
If it fails first time, try again after 20 ms, then again after 5*20ms = 100 ms.

@sardok
Copy link
Owner

sardok commented Apr 27, 2017

Thanks @troelsim for the PR. I think, it would better if we keep the asynchronous nature of the library here.

See discussion here: http://twistedmatrix.com/pipermail/twisted-python/2015-December/030041.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants