sleep(interval)

sleep time should be constant value and not an increasing value.
This commit is contained in:
blacktwin 2018-01-06 10:53:50 -05:00 committed by GitHub
parent 465d47b668
commit 5998395f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ x = 0
try:
print('Executing sub script.')
while x < timeout and x is not None:
sleep(x)
sleep(interval)
if kill_stream(check_session(sessionKey), interval, timeout) is not None:
x += kill_stream(check_session(sessionKey), interval, timeout)
else: