mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Mark as ready closer to tick()
This commit is contained in:
parent
8d22053bed
commit
64c8a32c2f
@ -492,10 +492,10 @@ class ServerLoop(object):
|
|||||||
self.pool.start()
|
self.pool.start()
|
||||||
with TemporaryDirectory(prefix='srv-') as tdir:
|
with TemporaryDirectory(prefix='srv-') as tdir:
|
||||||
self.tdir = tdir
|
self.tdir = tdir
|
||||||
self.ready = True
|
|
||||||
if self.LISTENING_MSG:
|
if self.LISTENING_MSG:
|
||||||
self.log(self.LISTENING_MSG, ba)
|
self.log(self.LISTENING_MSG, ba)
|
||||||
self.plugin_pool.start()
|
self.plugin_pool.start()
|
||||||
|
self.ready = True
|
||||||
|
|
||||||
while self.ready:
|
while self.ready:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user