mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 07:34:30 +08:00
Increase TaskID size by 2 bytes, taken from JobID (#6425)
* Increase TaskID size by 2 bytes, taken from JobID * comments * check max job id * fix doc * fix local mode
This commit is contained in:
@@ -288,6 +288,7 @@ cdef class JobID(BaseID):
|
||||
|
||||
@classmethod
|
||||
def from_int(cls, value):
|
||||
assert value < 65536, "Maximum JobID integer is 65535."
|
||||
return cls(CJobID.FromInt(value).Binary())
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user