Skip to content

Commit

Permalink
Change request timeout to 60 seconds (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmay-browserstack authored Nov 24, 2023
1 parent 0ab8c85 commit 1198077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: 3.11
- uses: actions/cache@v3
with:
path: ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion percy/lib/cli_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def post_screenshots(self, name, tag, tiles, external_debug_url=None, ignored_el
body['client_info'] = Environment._get_client_info()
body['environment_info'] = Environment._get_env_info()

response = requests.post(f'{PERCY_CLI_API}/percy/comparison', json=body, timeout=30)
response = requests.post(f'{PERCY_CLI_API}/percy/comparison', json=body, timeout=60)
# Handle errors
response.raise_for_status()
data = response.json()
Expand Down

0 comments on commit 1198077

Please sign in to comment.