Skip to content

Commit 3cccee6

Browse files
anguillanneufkolea2
authored andcommitted
---
yaml --- r: 15869 b: refs/heads/autosynth-dialogflow c: 33202fb h: refs/heads/master i: 15867: d434f3d
1 parent 4f2c45b commit 3cccee6

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
@@ -130,7 +130,7 @@ refs/heads/autosynth-bigtable: 2fbcb15847e0e89e79d6dc07420e28d7dfcea894
130130
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
131131
refs/heads/autosynth-containeranalysis: 039ca5b8db725c76c16a965ff26b2774322b8ef8
132132
refs/heads/autosynth-datastore: 9acd400b484d6691a080c9152a331d88d24fefc1
133-
refs/heads/autosynth-dialogflow: 4a21c106d0951e0578386cf54d521dc798904404
133+
refs/heads/autosynth-dialogflow: 33202fb69f277dd788c8d30edee47c06d1eaf641
134134
refs/heads/autosynth-errorreporting: 3d0566d6bebcc187f148bbed463b5a8e75b1edf6
135135
refs/heads/autosynth-firestore: 92b27fbc8855c9902168695abb0a8f1f433b750b
136136
refs/heads/autosynth-iot: 9d732be07d99843d8cb53d34ec0837328a807fce

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