reduced cpu load from 104% with ffmpeg x11grab, ffserver and konsole to 32% with my implementation - yeah

This commit is contained in:
Stefan Kögl 2014-04-23 18:16:47 +02:00
parent 7ac50d1e79
commit 28e0cc3bc1
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class MyHandler(BaseHTTPRequestHandler):
JpegData = None
buffer = None
img = None
time.sleep(0.03)
time.sleep(0.05)
elif self.path.endswith(".jpeg"):
directory = os.path.dirname(os.path.abspath(__file__))