[python] Avoid creating unused ThreadPools (#1387)

* Avoid creating unused ThreadPools

Instead, create ApiClient.pool on first request for .pool property.

avoids spawning n-cpus threads (the default for ThreadPool) at instantiation of every ApiClient

* update doc

* set pool_thread to None
This commit is contained in:
William Cheng
2018-11-08 17:39:20 +08:00
committed by GitHub
parent 34945427d4
commit 2ef499faf3
16 changed files with 522 additions and 19 deletions

View File

@@ -1 +1 @@
3.3.2-SNAPSHOT
3.3.3-SNAPSHOT