8000 Clarify infinite retries sample (#3175) · coderatgoogle/java-docs-samples@d9c6d76 · GitHub
[go: up one dir, main page]

Skip to content

Commit d9c6d76

Browse files
author
Ace Nassri
authored
Clarify infinite retries sample (GoogleCloudPlatform#3175)
Addresses b/158467672
1 parent 7f76a7d commit d9c6d76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/concepts/retry-timeout/src/main/java/functions/RetryTimeout.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public void accept(PubSubMessage message, Context context) {
5959
}
6060

6161
// Process events that are recent enough
62+
// To retry this invocation, throw an exception here
6263
logger.info(String.format("Processing event %s.", data));
6364
}
6465
}

0 commit comments

Comments
 (0)
0