[Debug] Correct Unreasonable Long Timeout (#1175)
Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
1 parent
7fcbaa794c
commit
d6f93b0f37
3 files changed
+4
-4
No files matched your search
@@ -97,7 +97,7 @@ class OmniServeCommand(CLISubcommand):
|
||||
omni_config_group.add_argument(
|
||||
"--init-timeout",
|
||||
type=int,
|
||||
default=60000,
|
||||
default=600,
|
||||
help="The timeout for initializing the stages.",
|
||||
)
|
||||
omni_config_group.add_argument(
|
||||
|
||||
@@ -221,8 +221,8 @@ class OmniStage:
|
||||
|
||||
# Wait for result from worker
|
||||
try:
|
||||
# Profiling stop might take time to flush files, give it 180s
|
||||
response = self._out_q.get(timeout=60000)
|
||||
# Profiling stop might take time to flush files, give it 600s
|
||||
response = self._out_q.get(timeout=600)
|
||||
|
||||
if isinstance(response, dict):
|
||||
if response.get("type") == "profiler_result":
|
||||
|
||||
Reference in new issue
Block a user