Skip to content

Commit

Permalink
Merge pull request #210 from ranking-agent/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
cbizon authored Aug 1, 2023
2 parents ff2cfcd + 7382e39 commit c8fa830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,6 @@ async def asyncexecute(request, answer_coalesce_type, guid, logger, caller):

query_result["status"] = "Success"

# Clean up: this should be cleaned up as the components move to 1.2, but for now, let's clean it up
for edge_id, edge_data in query_result["message"]["knowledge_graph"]["edges"].items():
if "relation" in edge_data:
del edge_data["relation"]

# This is also bogus, not sure why it's not validating
del query_result["workflow"]

Expand Down
3 changes: 2 additions & 1 deletion src/service_aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ async def collect_callback_responses(guid, num_queries):
#accumulated_results = []

# Don't spend any more time than this assembling messages
OVERALL_TIMEOUT = timedelta(hours=1) # 1 hour
#OVERALL_TIMEOUT = timedelta(hours=1) # 1 hour
OVERALL_TIMEOUT = timedelta(minutes=3) # 3 minutes

done = False
start = dt.now()
Expand Down

0 comments on commit c8fa830

Please sign in to comment.