This commit is contained in:
Dobromir Popov
2025-06-24 19:21:47 +03:00
parent 165b3be21a
commit 8a51ef8b8c
3 changed files with 234 additions and 35 deletions

View File

@ -304,7 +304,7 @@ class RealTimeTickProcessor:
if len(self.processing_times) % 100 == 0:
avg_time = np.mean(list(self.processing_times))
logger.info(f"Average processing time: {avg_time:.2f}ms")
logger.debug(f"RTP: Average processing time: {avg_time:.2f}ms")
# Small sleep to prevent CPU overload
time.sleep(0.001) # 1ms sleep for ultra-low latency