-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
refactor:rename clientside dialoption field 'maxAttempts' #7391
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7391 +/- ##
==========================================
- Coverage 81.42% 81.40% -0.02%
==========================================
Files 348 348
Lines 26744 26744
==========================================
- Hits 21775 21772 -3
- Misses 3779 3783 +4
+ Partials 1190 1189 -1
|
Hi @No-SilverBullet, I agree that the name could be better. The API that users interact with is the Lines 752 to 759 in bdd707e
If we were to change the name of Since the external method is named as such, IMO keeping the private variable names consistent with it seems to desired bahaviour. |
Got it! Thanks for reply |
RELEASE NOTES:
maxCallAttempts
tomaxRetryAttempts
to improve clarity and better represent its purpose.Recently, I noticed a bug with the RPC client's setting of the maximum number of reconnections. I was very surprised to find that it has been solved in this PR client: implement maxAttempts for retryPolicy . However, I think the meaning of this variable 'maxCallAttempts' are not clear enough, so I submitted this PR to rename this variable.