Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve description of backoff sequence indb.loose#119

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 1 commit intogitpython-developers:masterfromEliahKagan:quadratic
Jan 27, 2025

Conversation

EliahKagan
Copy link
Member

The sequence of backoff wait times used ingitdb.db.loose is quadratic rather than exponential, as discussed in#115 (comment).

This corrects the variable name by making it more general, and the comment by having it explicitly describe the backoff as quadratic.

This is conceptually related toGitoxideLabs/gitoxide#1815, but this is a non-breaking change, as no interfaces are affected: only a local variable and comment.

The sequence of backoff wait times used in `gitdb.db.loose` isquadratic rather than exponential, as discussed in:gitpython-developers#115 (comment)This corrects the variable name by making it more general, and thecomment by having it explicitly describe the backoff as quadratic.This is conceptually related toGitoxideLabs/gitoxide#1815, butthis is a non-breaking change, as no interfaces are affected: onlya local variable and comment.
Copy link
Member

@ByronByron left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

It looks like this mistake has been following me since my youth 😄.

@ByronByron merged commitf36c0cc intogitpython-developers:masterJan 27, 2025
7 checks passed
@EliahKagan
Copy link
MemberAuthor

No problem!

@EliahKaganEliahKagan deleted the quadratic branchJanuary 27, 2025 08:43
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ByronByronByron approved these changes

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@EliahKagan@Byron

[8]ページ先頭

©2009-2025 Movatter.jp