Skip to content

Commit

Permalink
extend timeout to one hour for content validation
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanBaker committed Nov 17, 2021
1 parent ce02d63 commit e07f269
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spectacles/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,9 @@ def cancel_query_task(self, query_task_id: str):
def content_validation(self) -> JsonDict:
logger.debug("Validating all content in Looker")
url = utils.compose_url(self.api_url, path=["content_validation"])
response = self.get(url=url, timeout=TIMEOUT_SEC)
response = self.get(
url=url, timeout=3600
) # 1 hour timeout for content validation

try:
response.raise_for_status()
Expand Down

0 comments on commit e07f269

Please sign in to comment.