Sleep more , save more.
This commit is contained in:
parent
e8eaf65f07
commit
9fa90ccc3f
|
@ -2937,7 +2937,7 @@ else:
|
||||||
app.processEvents()
|
app.processEvents()
|
||||||
while app.hasPendingEvents():
|
while app.hasPendingEvents():
|
||||||
app.processEvents()
|
app.processEvents()
|
||||||
gevent.sleep()
|
gevent.sleep(0.01)
|
||||||
gevent.sleep(0.01) # don't appear to get here but cooperate again
|
gevent.sleep(0.01) # don't appear to get here but cooperate again
|
||||||
def testprint():
|
def testprint():
|
||||||
#print 'this is running'
|
#print 'this is running'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user