mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 12:16:13 +01:00
Lower check interval of python interpreter to make GUI more responsive (at the coster of higher CPU load
This commit is contained in:
parent
4cac965ea7
commit
5c1a40534b
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue