forked from DRMTalks/devine
master #3
|
@ -218,7 +218,8 @@ def requests(
|
||||||
session = Session()
|
session = Session()
|
||||||
session.mount("https://", HTTPAdapter(
|
session.mount("https://", HTTPAdapter(
|
||||||
pool_connections=max_workers,
|
pool_connections=max_workers,
|
||||||
pool_maxsize=max_workers
|
pool_maxsize=max_workers,
|
||||||
|
pool_block=True
|
||||||
))
|
))
|
||||||
session.mount("http://", session.adapters["https://"])
|
session.mount("http://", session.adapters["https://"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue