Skip to content

Commit

Permalink
Changed timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan committed Oct 21, 2024
1 parent 8a1685a commit c3446f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ fileignoreconfig:
checksum: 4e15e63d349635131173ffdd7aebcd547621db08de877ef926d3a41fde72d065
- filename: tests/app/v2/notifications/test_post_notifications.py
checksum: 3181930a13e3679bb2f17eaa3f383512eb9caf4ed5d5e14496ca4193c6083965
- filename: app/va/va_profile/va_profile_client.py
checksum: 5348fe37585b616e64279d32b59b82636f86209ade5074682af2e364c68f0bde
version: "1.0"
2 changes: 1 addition & 1 deletion app/va/va_profile/va_profile_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_profile(self, va_profile_id: RecipientIdentifier) -> Profile:
data = {'bios': [{'bioPath': 'contactInformation'}, {'bioPath': 'communicationPermissions'}]}

try:
response = requests.post(url, json=data, cert=(self.ssl_cert_path, self.ssl_key_path), timeout=(3.05, 1))
response = requests.post(url, json=data, cert=(self.ssl_cert_path, self.ssl_key_path), timeout=(5, 2))
response.raise_for_status()
except (requests.HTTPError, requests.RequestException, requests.Timeout) as e:
self._handle_exceptions(va_profile_id.id_value, e)
Expand Down

0 comments on commit c3446f8

Please sign in to comment.