Skip to content

Conversation

@dargmuesli
Copy link
Member

@dargmuesli dargmuesli commented Jan 22, 2024

Adds one commit to @gahisee's PR #375, which aligns the builder pattern so that it matches way it's used throughout this project: allowing the connection manager to be configurable. It also lets the connection manager default to a pooling connection manager so that most users don't face issue #383.

This is a breaking change (which is not an issue for me, those occur rarely) as the connectTimeout ConnectionConfig cannot be set anymore as is. Instead, a (basic) connection manager having that ConnectionConfig would need to be set now if it's needed to be kept.

@gahisee @Selbi182 @linde9821 please tell me what you think, I'd release a release candidate for this.
@gahisee your pull request would be merged automatically as well when this one is merged as this PR builds on top of yours so all your stats will be kept. I just thought it's a good idea to have this PR open to see the proposed changes more clearly when comparing against master 💡

@codecov
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (c339de9) 66.08% compared to head (63f306b) 66.09%.
Report is 22 commits behind head on master.

Files Patch % Lines
...a/se/michaelthelin/spotify/SpotifyHttpManager.java 33.33% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #384      +/-   ##
============================================
+ Coverage     66.08%   66.09%   +0.01%     
- Complexity      661      664       +3     
============================================
  Files           183      184       +1     
  Lines          7103     7100       -3     
  Branches       1148     1145       -3     
============================================
- Hits           4694     4693       -1     
- Misses         1506     1507       +1     
+ Partials        903      900       -3     

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

@dargmuesli
Copy link
Member Author

Let's not get too worried about the patch's code coverage 😄

Copy link
Contributor

@gahisee gahisee left a comment

Choose a reason for hiding this comment

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

looks fine to me.

@dargmuesli dargmuesli changed the base branch from master to beta January 22, 2024 13:44
@dargmuesli dargmuesli merged commit bab0070 into beta Jan 22, 2024
@dargmuesli dargmuesli deleted the feat/connection-manager/builder branch January 22, 2024 14:02
@Selbi182
Copy link
Member

Got nothing to add either, looks good!

I will give the RC a full spin soonish. If I don't report back, assume everything is working fine :D

@linde9821
Copy link

Tested 9.0.0-RC1 in my project. It solved the issue :)

@dargmuesli
Copy link
Member Author

Thank you for the feedback! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants