DrishtiSharma commited on
Commit
b1a509c
Β·
verified Β·
1 Parent(s): f53f431

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def run_graph(input_message, history, user_details):
60
  q = queue.Queue()
61
  thread = threading.Thread(target=invoke_workflow, args=(q,))
62
  thread.start()
63
- thread.join(timeout=30) # Wait for 30 seconds
64
 
65
  if thread.is_alive():
66
  logger.error("Workflow timed out.")
 
60
  q = queue.Queue()
61
  thread = threading.Thread(target=invoke_workflow, args=(q,))
62
  thread.start()
63
+ thread.join(timeout=300) # Wait for 30 seconds
64
 
65
  if thread.is_alive():
66
  logger.error("Workflow timed out.")