mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -345,6 +345,7 @@ def main(args=sys.argv):
|
|||||||
# On windows only singleinstance can be trusted
|
# On windows only singleinstance can be trusted
|
||||||
otherinstance = True if iswindows else False
|
otherinstance = True if iswindows else False
|
||||||
if not otherinstance:
|
if not otherinstance:
|
||||||
|
sys.setcheckinterval(50) # Make GUI more responsive
|
||||||
return run_gui(opts, args, actions, listener, app)
|
return run_gui(opts, args, actions, listener, app)
|
||||||
|
|
||||||
communicate(args)
|
communicate(args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user