Skip to content

Conversation

@relaxolotl
Copy link
Contributor

Tries to cut down on instances of SENTRY-FOR-SENTRY-F0V.

@relaxolotl relaxolotl requested a review from a team November 2, 2021 23:42
logger.debug(f"GET {full_url}")
with sentry_sdk.start_span(op="http", description="AppStoreConnect request"):
response = session.get(full_url, headers=headers, timeout=REQUEST_TIMEOUT)
response = session.get(full_url, headers=headers, timeout=REQUEST_TIMEOUT * 2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only place in which we use REQUEST_TIMEOUT. Might as well change the value directly.

I'd also be tempted to change the line above to with sentry_sdk.start_transaction(op='http', description='AppStoreConnect request'): so that we get a searchable transaction which we can then see how long it usually takes, what the outliers are etc.

@relaxolotl relaxolotl enabled auto-merge (squash) November 3, 2021 21:12
@relaxolotl relaxolotl changed the title fix(appstore-connect): Relax timeout for build fetching fix(appstore-connect): Relax timeout for build fetching [NATIVE-294] Nov 3, 2021
@relaxolotl relaxolotl merged commit 9e6c67d into master Nov 3, 2021
@relaxolotl relaxolotl deleted the appconnect/download-timeouts branch November 3, 2021 21:32
@github-actions github-actions bot locked and limited conversation to collaborators Nov 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants