Skip to content

Replaced select.select() with select.epoll() in SocketcanBus#2056

Open
bhicks-stackav wants to merge 1 commit into
hardbyte:mainfrom
bhicks-stackav:socketcan-epoll
Open

Replaced select.select() with select.epoll() in SocketcanBus#2056
bhicks-stackav wants to merge 1 commit into
hardbyte:mainfrom
bhicks-stackav:socketcan-epoll

Conversation

@bhicks-stackav
Copy link
Copy Markdown

Summary of Changes

  • Replace usage of select.select() with select.epoll() in SocketcanBus to avoid a ValueError being raised when a high number of files (>1024) are open

Related Issues / Pull Requests

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactoring
  • Other (please describe):

Checklist

  • I have followed the contribution guide.
  • I have added or updated tests as appropriate.
  • I have added or updated documentation as appropriate.
  • I have added a news fragment for towncrier.
  • All checks and tests pass (tox).

Additional Notes

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.

SocketcanBus does not support socket file descriptors over 1023

1 participant