ttl as int

This commit is contained in:
Chih Cheng Liang
2019-08-05 17:02:18 +08:00
parent 63c733c3f5
commit cb3a59e0ac
2 changed files with 6 additions and 6 deletions

View File

@ -112,7 +112,7 @@ class IMuxedStream(ABC):
"""
@abstractmethod
def set_deadline(self, ttl: float) -> bool:
def set_deadline(self, ttl: int) -> bool:
"""
set deadline for muxed stream
:return: a new stream