Skip to content

Commit

Permalink
Increase default subgraph timeout and retry count (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Nov 21, 2023
1 parent d6f55b8 commit 0d9fe5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdr_backend/util/subgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def info_from_725(info725_list: list) -> Dict[str, Optional[str]]:

@enforce_types
def query_subgraph(
subgraph_url: str, query: str, tries: int = 0, timeout: float = 1.5
subgraph_url: str, query: str, tries: int = 3, timeout: float = 30.0
) -> Dict[str, dict]:
"""
@arguments
Expand Down

0 comments on commit 0d9fe5f

Please sign in to comment.