Fix incompatibility with most recent version of Redis. (#3379)

* Fix incompatibility with most recent version of Redis.

* Fix

* Fixes.
This commit is contained in:
Robert Nishihara
2018-11-24 16:36:38 -08:00
committed by Devin Petersohn
parent 18a8dbfcfb
commit 3856533065
7 changed files with 8 additions and 24 deletions
+1 -1
View File
@@ -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