mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 00:50:50 +08:00
Fix linting errors. (#3127)
This commit is contained in:
committed by
Philipp Moritz
parent
55d161b49f
commit
5aa29613db
@@ -335,7 +335,7 @@ def wait_for_redis_to_start(redis_ip_address,
|
||||
"Waiting for redis server at {}:{} to respond...".format(
|
||||
redis_ip_address, redis_port))
|
||||
redis_client.client_list()
|
||||
except redis.ConnectionError as e:
|
||||
except redis.ConnectionError:
|
||||
# Wait a little bit.
|
||||
time.sleep(1)
|
||||
logger.info("Failed to connect to the redis server, retrying.")
|
||||
|
||||
Reference in New Issue
Block a user