mirror of
https://github.com/markqvist/rnsh.git
synced 2025-02-25 01:20:00 -05:00
Allow retry timer callback to signal complete
This commit is contained in:
parent
a9f8ede4fe
commit
2c61fdf391
@ -493,8 +493,7 @@ def _subproc_data_ready(link: RNS.Link, chars_available: int):
|
||||
_retry_timer.begin(try_limit=15,
|
||||
wait_delay=max(link.rtt * 5 if link.rtt is not None else 1, 1),
|
||||
try_callback=functools.partial(send, False),
|
||||
timeout_callback=functools.partial(send, True),
|
||||
tag=None)
|
||||
timeout_callback=functools.partial(send, True))
|
||||
else:
|
||||
log.debug(f"Notification already pending for link {link}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user