From 28e0cc3bc10963b8d21e44a42ff77fc0594127de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Wed, 23 Apr 2014 18:16:47 +0200 Subject: [PATCH] reduced cpu load from 104% with ffmpeg x11grab, ffserver and konsole to 32% with my implementation - yeah --- dump_grabber/dump_grabber/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump_grabber/dump_grabber/main.py b/dump_grabber/dump_grabber/main.py index 9eb649f..3a47354 100644 --- a/dump_grabber/dump_grabber/main.py +++ b/dump_grabber/dump_grabber/main.py @@ -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__))