Update async_stream.py

- check if processing time is < 5 sec
This commit is contained in:
Stefan Allius
2024-06-16 02:08:15 +02:00
committed by GitHub
parent 10346e888f
commit b053c7e576

View File

@@ -116,7 +116,7 @@ class AsyncStream():
logging.debug('async_stream healthy() elapsed: ' logging.debug('async_stream healthy() elapsed: '
f'{round(1000*elapsed)}ms' f'{round(1000*elapsed)}ms'
f' max:{round(1000*self.proc_max)}ms') f' max:{round(1000*self.proc_max)}ms')
return True return elapsed < 5
''' '''
Our private methods Our private methods