Skip to content

Commit 51f14c2

Browse files
anguillanneufkolea2
authored andcommitted
---
yaml --- r: 15261 b: refs/heads/autosynth-bigtable c: 33202fb h: refs/heads/master i: 15259: 96bb81c
1 parent c5256d0 commit 51f14c2

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
@@ -126,7 +126,7 @@ refs/heads/autosynth-asset: cd8251de8c40e239ad24dcf9ed93ea2708a3eed5
126126
refs/heads/autosynth-automl: cced2f56bbef0499609073edbca6253e1df5e535
127127
refs/heads/autosynth-bigquerydatatransfer: a6667617707608b1dbfb02d59c22b5152f208da7
128128
refs/heads/autosynth-bigquerystorage: 14ab055598b943ae3f33f484e9fb1653355d08e7
129-
refs/heads/autosynth-bigtable: 4a21c106d0951e0578386cf54d521dc798904404
129+
refs/heads/autosynth-bigtable: 33202fb69f277dd788c8d30edee47c06d1eaf641
130130
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
131131
refs/heads/autosynth-containeranalysis: 781fdb430a60f9a6491f116e31e4e10118157bdb
132132
refs/heads/autosynth-datastore: af1fb76aa3eee02fe6f31f8fa1c72a4f048d149b

branches/autosynth-bigtable/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)