Skip to content

Commit

Permalink
feat(pubsub): increase backoff from 1.3 to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alevenberg committed Aug 3, 2023
1 parent 4f8cb2b commit 1aa791b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/pubsub/internal/defaults.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Options DefaultCommonOptions(Options opts) {
if (!opts.has<pubsub::BackoffPolicyOption>()) {
opts.set<pubsub::BackoffPolicyOption>(
pubsub::ExponentialBackoffPolicy(std::chrono::milliseconds(100),
std::chrono::seconds(60), 1.3)
std::chrono::seconds(60), 4)
.clone());
}
if (opts.get<GrpcBackgroundThreadPoolSizeOption>() == 0) {
Expand Down

0 comments on commit 1aa791b

Please sign in to comment.