hello_loopring icon indicating copy to clipboard operation
hello_loopring copied to clipboard

Bugfix for OSError: [Errno 24] Too many open files

Open 0xtakamaka opened this issue 3 years ago • 0 comments

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

0xtakamaka avatar Jan 05 '22 09:01 0xtakamaka