mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 02:47:10 +08:00
This reverts commit 3e492a79ec.
This commit is contained in:
+2
-2
@@ -50,9 +50,9 @@ def get_ray_temp_dir():
|
||||
|
||||
|
||||
def _random_string():
|
||||
id_hash = hashlib.shake_128()
|
||||
id_hash = hashlib.sha1()
|
||||
id_hash.update(uuid.uuid4().bytes)
|
||||
id_bytes = id_hash.digest(ray_constants.ID_SIZE)
|
||||
id_bytes = id_hash.digest()
|
||||
assert len(id_bytes) == ray_constants.ID_SIZE
|
||||
return id_bytes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user