mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
make channel opener more random
This commit is contained in:
parent
0c23ca0561
commit
e95f9a1d6a
1 changed files with 1 additions and 1 deletions
|
@ -2255,7 +2255,7 @@ class DATA:
|
|||
|
||||
# wait until timeout or event set
|
||||
|
||||
random_wait_time = randrange(int(self.duration_sig1_frame * 10), int(self.datachannel_opening_interval * 10), 5)
|
||||
random_wait_time = randrange(int(self.duration_sig1_frame * 10), int(self.datachannel_opening_interval * 10), 1) / 10
|
||||
ARQ.arq_state_event.wait(timeout=random_wait_time)
|
||||
|
||||
if ARQ.arq_state_event.is_set():
|
||||
|
|
Loading…
Reference in a new issue