Skip to content

Bug 2090047 - Expose max_recoverable_failures, max_wait_attempts and max_ping_body_size as configurable options - #3771

Merged
badboy merged 3 commits into
mainfrom
different-http-error-codes-are/pumwmutyolxv
Nov 26, 2026
Merged

badboy merged 3 commits into
mainfrom
different-http-error-codes-are/pumwmutyolxv

Conversation

@badboy

@badboy badboy commented Nov 13, 2026

Copy link
Copy Markdown
Member

We already had max_pending_pings_count and max_pending_pings_directory_size exposed, so I decided to add the other 3 policy options as well.

It would probably be nicer if we bundle that up and expose the Policy object instead, but that is more work; this was a mostly mechanical change to apply it to all target languages.

This also then sets max_recoverable_failures high so different_http_error_codes_are_handled doesn't run into the problem.

Breaking change (due to the new options exposed on Configuration) -- but we soon have one pending anyway.

@badboy badboy added this to the v72.0.0 milestone Nov 13, 2026
@badboy
badboy requested a review from a team as a code owner November 13, 2026 12:10
@badboy
badboy requested review from travis79 and removed request for a team November 13, 2026 12:10
@badboy
badboy force-pushed the different-http-error-codes-are/pumwmutyolxv branch 2 times, most recently from a47afaa to dde6a3c Compare November 19, 2026 12:14

@travis79 travis79 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If we add these to the server knobs config, don't forget it requires the schema update too :(

@badboy

badboy commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

If we add these to the server knobs config, don't forget it requires the schema update too :(

I haven't added them there.

@badboy
badboy force-pushed the different-http-error-codes-are/pumwmutyolxv branch from dde6a3c to 346a235 Compare November 19, 2026 16:38
…y_size` as configuration options

These were already exposed on glean-core (and UDL) and thus all the
other languages.
@badboy
badboy force-pushed the different-http-error-codes-are/pumwmutyolxv branch from 346a235 to d76cf27 Compare November 26, 2026 13:26
@badboy
badboy merged commit 037868b into main Nov 26, 2026
62 of 64 checks passed
@badboy
badboy deleted the different-http-error-codes-are/pumwmutyolxv branch November 26, 2026 16:17
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.

2 participants