From 5c1a40534ba1b71b0ac7bc93bdd97c23e3685980 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 3 Nov 2010 20:10:05 -0600 Subject: [PATCH] Lower check interval of python interpreter to make GUI more responsive (at the coster of higher CPU load --- src/calibre/gui2/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index d736835fd6..4da06b22ae 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -345,6 +345,7 @@ def main(args=sys.argv): # On windows only singleinstance can be trusted otherinstance = True if iswindows else False if not otherinstance: + sys.setcheckinterval(50) # Make GUI more responsive return run_gui(opts, args, actions, listener, app) communicate(args)