Skip to content

Add backend_backoff_max_delay flag to grpcwebproxy#278

Merged
johanbrandhorst merged 2 commits into
improbable-eng:masterfrom
uplevel-technology:backoff-max-delay
Nov 8, 2018
Merged

Add backend_backoff_max_delay flag to grpcwebproxy#278
johanbrandhorst merged 2 commits into
improbable-eng:masterfrom
uplevel-technology:backoff-max-delay

Conversation

@fordhurley

Copy link
Copy Markdown
Contributor

Closes #277.

@johanbrandhorst johanbrandhorst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the submission! Just a tiny nit pick (I need to justify my existence, right?)

Comment thread go/grpcwebproxy/backend.go Outdated
}

opt = append(opt, grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(*flagMaxCallRecvMsgSize)))
opt = append(opt, grpc.WithBackoffMaxDelay(*flagBackendBackoffMaxDelay))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These two can just go in the same append call:

opt = append(opt,
     grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(*flagMaxCallRecvMsgSize)),
     grpc.WithBackoffMaxDelay(*flagBackendBackoffMaxDelay),
)

@johanbrandhorst

Copy link
Copy Markdown
Contributor

Nice work! I'll merge it after the tests have passed.

@johanbrandhorst

Copy link
Copy Markdown
Contributor

Rerunning the failed tests in case they were flakes.

@johanbrandhorst johanbrandhorst merged commit fdebee8 into improbable-eng:master Nov 8, 2018
@johanbrandhorst

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

@fordhurley

Copy link
Copy Markdown
Contributor Author

Awesome! Thank you!

@fordhurley fordhurley deleted the backoff-max-delay branch November 8, 2018 12:59
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