[conduit] Sleep between handle_requests to prevent CPU usage on python 2.6
- From: John Stowers <jstowers src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit] Sleep between handle_requests to prevent CPU usage on python 2.6
- Date: Fri, 17 Apr 2009 05:10:55 -0400 (EDT)
commit d3edac178ec3c2c963f7faf2a590accbea35160a
Author: John Stowers <john stowers gmail com>
Date: Fri Apr 17 21:10:24 2009 +1200
Sleep between handle_requests to prevent CPU usage on python 2.6
---
ChangeLog | 1 +
conduit/modules/NetworkModule/XMLRPCUtils.py | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7bca147..9422a23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* conduit/modules/NetworkModule/XMLRPCUtils.py:
Sleep between handle_requests to prevent CPU usage on python 2.6
+ Fixes #558473 (Alex Lau)
2009-04-08 John Stowers <john stowers gmail com>
diff --git a/conduit/modules/NetworkModule/XMLRPCUtils.py b/conduit/modules/NetworkModule/XMLRPCUtils.py
index f806e76..f0bbd80 100644
--- a/conduit/modules/NetworkModule/XMLRPCUtils.py
+++ b/conduit/modules/NetworkModule/XMLRPCUtils.py
@@ -12,7 +12,6 @@ import cPickle
import xmlrpclib
import SimpleXMLRPCServer
import logging
-import sys
import time
#One log for the client
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]