From 7aa1cf450bbfa1c90585dc3e8c1db2bb108d81f6 Mon Sep 17 00:00:00 2001 From: Joan Martinez Date: Thu, 30 Nov 2023 13:52:17 +0100 Subject: [PATCH] chore: remove status thread --- jina/orchestrate/flow/base.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/jina/orchestrate/flow/base.py b/jina/orchestrate/flow/base.py index f7ba340570454..7f1d2b0954677 100644 --- a/jina/orchestrate/flow/base.py +++ b/jina/orchestrate/flow/base.py @@ -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 @@ -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()