mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-10 06:06:41 +00:00
web retry_codes fix
This commit is contained in:
parent
4278b0f89e
commit
43cb6c4a7b
@ -18,5 +18,5 @@ def get_web():
|
||||
rps=os.environ.get("RPS", 1),
|
||||
logger=stdout_logger,
|
||||
cookie_file=os.environ.get("COOKIE_FILE", None),
|
||||
retry_codes=set(int(x) for x in os.environ.get("RETRY_CODES", "").split(","))
|
||||
retry_codes=set(int(x) if x else None for x in os.environ.get("RETRY_CODES", "").split(","))
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user