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

fix: also reduce back off counter for 304#772

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
sjaanus merged 1 commit intomainfrombackoff-impr
Oct 29, 2025
Merged

Conversation

@sjaanus
Copy link
Contributor

304 responses are successful (server indicates cache is valid) but weren't callingcountSuccess() to reduce the failure counter. This fix ensures both 304 and 200 responses contribute to backoff recovery, preventing the failure counter from remaining elevated during periods of unchanged flags.

@coveralls
Copy link

Pull Request Test Coverage Report forBuild 18907607420

Details

  • 1 of1(100.0%) changed or added relevant line in1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to89.936%

TotalsCoverage Status
Change from baseBuild 18010500472:0.005%
Covered Lines:1268
Relevant Lines:1349

💛 -Coveralls

});
if(res.status===304){
this.emit(UnleashEvents.Unchanged);
nextFetch=this.countSuccess();
Copy link
Contributor

Choose a reason for hiding this comment

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

worth checking if we have tests for 200 recover and add one for 304 recovery

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I think we do not.

@github-project-automationgithub-project-automationbot moved this fromNew toApproved PRs inIssues and PRsOct 29, 2025
@sjaanussjaanus merged commit88a6133 intomainOct 29, 2025
6 checks passed
@sjaanussjaanus deleted the backoff-impr branchOctober 29, 2025 12:30
@github-project-automationgithub-project-automationbot moved this fromApproved PRs toDone inIssues and PRsOct 29, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@kwasniewkwasniewkwasniew approved these changes

Assignees

No one assigned

Labels

None yet

Projects

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@sjaanus@coveralls@kwasniew

[8]ページ先頭

©2009-2025 Movatter.jp