Skip to content

Conversation

@0xtakamaka
Copy link

When opening RestClient multiple times you get error: "OSError: [Errno 24] Too many open files", which is caused because Pool's are not closing automatically. This commit fixes that with calling close() on multiprocessing.Pool when closing RestClient.

See attached image for a bug which is solved with this fix.

image

Close multiprocessing.Pool when closing RestClient. When opening RestClient multiple times you get error: "OSError: [Errno 24] Too many open files", which is caused because Pool's are not closing automatically. This commit fixes that.
Bugfix for OSError: [Errno 24] Too many open files
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.

1 participant