a more performance version
New designed pool model(use deque instead of queue.Queue), almost 20x performance when doing borrowing and returning actions.
Breaking changes: change the parameter max_size
to maxsize
in the init function of the ConnectPool class.