Skip to content

Commit 9c6aad8

Browse files
anguillanneufkolea2
authored andcommitted
---
yaml --- r: 19861 b: refs/heads/autosynth-language c: 33202fb h: refs/heads/master i: 19859: c61b247
1 parent 240e57c commit 9c6aad8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ refs/heads/autosynth-errorreporting: 1101a04e8be074802c35332d5fcf8297f61cae32
134134
refs/heads/autosynth-firestore: d1a44f9acc302750e37b008ecb9c1aa535cc94df
135135
refs/heads/autosynth-iot: f03bdd338a9056ca3b7ea6d9ca901649ba9aab78
136136
refs/heads/autosynth-kms: 2828edfe3d2c53dd6e71912eae8a53c87bf40c87
137-
refs/heads/autosynth-language: 4a21c106d0951e0578386cf54d521dc798904404
137+
refs/heads/autosynth-language: 33202fb69f277dd788c8d30edee47c06d1eaf641
138138
refs/heads/autosynth-os-login: a88a337797996a205873040a63abe1d3116f5789
139139
refs/heads/autosynth-redis: 0cdb2e47359d51b73763bcea8af3de62aa99119b
140140
refs/heads/autosynth-scheduler: d97f8743ba965c7d5e492c8dc1f51d023104e260

branches/autosynth-language/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ public Publisher getPublisherWithCustomRetrySettings(ProjectTopicName topicName)
113113
throws Exception {
114114
// [START pubsub_publisher_retry_settings]
115115
// Retry settings control how the publisher handles retryable failures
116-
Duration retryDelay = Duration.ofMillis(100); // default : 1 ms
117-
double retryDelayMultiplier = 2.0; // back off for repeated failures
118-
Duration maxRetryDelay = Duration.ofSeconds(5); // default : 10 seconds
119-
Duration totalTimeout = Duration.ofSeconds(1); // default: 0
120-
Duration initialRpcTimeout = Duration.ofSeconds(1); // default: 0
121-
Duration maxRpcTimeout = Duration.ofSeconds(10); // default: 0
116+
Duration retryDelay = Duration.ofMillis(5); // default: 5 ms
117+
double retryDelayMultiplier = 2.0; // back off for repeated failures, default: 2.0
118+
Duration maxRetryDelay = Duration.ofSeconds(600); // default : Long.MAX_VALUE
119+
Duration totalTimeout = Duration.ofSeconds(10); // default: 10 seconds
120+
Duration initialRpcTimeout = Duration.ofSeconds(10); // default: 10 seconds
121+
Duration maxRpcTimeout = Duration.ofSeconds(10); // default: 10 seconds
122122

123123
RetrySettings retrySettings =
124124
RetrySettings.newBuilder()

0 commit comments

Comments
 (0)