Skip to content

Commit

Permalink
chore: remove status thread
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM committed Nov 30, 2023
1 parent 133809c commit 7aa1cf4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions jina/orchestrate/flow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1965,14 +1965,14 @@ class StatusThread(threading.Thread):
def run(self):
return super(StatusThread, self).run()

# kick off spinner thread
polling_status_thread = StatusThread(
target=_polling_status,
args=(len(wait_for_ready_coros),),
daemon=True,
)

polling_status_thread.start()
# # kick off spinner thread
# polling_status_thread = StatusThread(
# target=_polling_status,
# args=(len(wait_for_ready_coros),),
# daemon=True,
# )
#
# polling_status_thread.start()

# kick off all deployments wait-ready tasks

Expand Down Expand Up @@ -2007,7 +2007,7 @@ def run(self):
for t in wait_ready_threads:
t.start()

polling_status_thread.join()
#polling_status_thread.join()
for t in wait_ready_threads:
t.join()

Expand Down

0 comments on commit 7aa1cf4

Please sign in to comment.