forked from DRMTalks/devine
master #1
|
@ -98,9 +98,6 @@ class Service(metaclass=ABCMeta):
|
||||||
backoff_factor=0.2,
|
backoff_factor=0.2,
|
||||||
status_forcelist=[429, 500, 502, 503, 504]
|
status_forcelist=[429, 500, 502, 503, 504]
|
||||||
),
|
),
|
||||||
# 16 connections is used for byte-ranged downloads
|
|
||||||
# double it to allow for 16 non-related connections
|
|
||||||
pool_maxsize=16 * 2,
|
|
||||||
pool_block=True
|
pool_block=True
|
||||||
))
|
))
|
||||||
session.mount("http://", session.adapters["https://"])
|
session.mount("http://", session.adapters["https://"])
|
||||||
|
|
Loading…
Reference in New Issue