Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the client's request timeout to match the SDK's default. #3205

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Aug 27, 2024

Back-story: The timeout value sets the matching property on reqwest, however turns out this is the overall timeout and so if say a media download hasn't finished yet, it will be killed part way though. It seems like we should be setting the read timeout here, but until then, we're matching the default we had before in the SDK.

This new value isn't great either but there's a balance to be made.

@pixlwave pixlwave requested a review from a team as a code owner August 27, 2024 11:23
@pixlwave pixlwave requested review from stefanceriu and removed request for a team August 27, 2024 11:23
…ad tasks 🤦‍♂️

This new value isn't great either but there's a balance to be made.
@pixlwave pixlwave changed the title Update the default timeout to match the SDK. Update the client's request timeout to match the SDK's default. Aug 27, 2024
Copy link

github-actions bot commented Aug 27, 2024

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against 3baf9b3

Copy link

sonarcloud bot commented Aug 27, 2024

@pixlwave pixlwave added pr-bugfix for bug fix pr-misc for other changes and removed pr-bugfix for bug fix labels Aug 27, 2024
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.42%. Comparing base (6bd9d25) to head (3baf9b3).
Report is 1 commits behind head on develop.

Files Patch % Lines
...mentX/Sources/Other/Extensions/ClientBuilder.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3205   +/-   ##
========================================
  Coverage    77.42%   77.42%           
========================================
  Files          722      722           
  Lines        57218    57218           
========================================
+ Hits         44299    44301    +2     
+ Misses       12919    12917    -2     
Flag Coverage Δ
unittests 68.28% <0.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pixlwave pixlwave merged commit ea9ae61 into develop Aug 27, 2024
14 checks passed
@pixlwave pixlwave deleted the doug/timeout branch August 27, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-misc for other changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants