mirror of
https://github.com/wassname/ray.git
synced 2026-07-10 11:17:07 +08:00
Fix incompatibility with most recent version of Redis. (#3379)
* Fix incompatibility with most recent version of Redis. * Fix * Fixes.
This commit is contained in:
committed by
Devin Petersohn
parent
18a8dbfcfb
commit
3856533065
@@ -110,7 +110,7 @@ class ImportThread(object):
|
||||
run_on_other_drivers) = self.redis_client.hmget(
|
||||
key, ["driver_id", "function", "run_on_other_drivers"])
|
||||
|
||||
if (run_on_other_drivers == "False"
|
||||
if (utils.decode(run_on_other_drivers) == "False"
|
||||
and self.worker.mode == ray.SCRIPT_MODE
|
||||
and driver_id != self.worker.task_driver_id.id()):
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user