Skip to content

Commit 3f1b79b

Browse files
authored
---
yaml --- r: 8433 b: refs/heads/master c: 540734e h: refs/heads/master i: 8431: 85eb081
1 parent fa258ac commit 3f1b79b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ddcaaab56fdd46d9a998ae55b1cc34474dad36f0
2+
refs/heads/master: 540734e6e9bce69f47854d2aabfbe61f1ac53631
33
refs/heads/travis: 47e4fee4fd5af9b2a8ce46f23c72ec95f9b195b2
44
refs/heads/gh-pages: 3e16a39145437096333db5811e5c0292719c1823
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,12 @@ public void onFailure(Throwable cause) {
229229
logger.log(Level.FINE, "pull failure after service no longer running", cause);
230230
return;
231231
}
232-
logger.log(Level.WARNING, "Terminated streaming with exception", cause);
233232
if (!StatusUtil.isRetryable(cause)) {
233+
logger.log(Level.SEVERE, "terminated streaming with exception", cause);
234234
notifyFailed(cause);
235235
return;
236236
}
237+
logger.log(Level.FINE, "stream closed with retryable exception; will reconnect", cause);
237238
long backoffMillis = channelReconnectBackoffMillis.get();
238239
long newBackoffMillis =
239240
Math.min(backoffMillis * 2, MAX_CHANNEL_RECONNECT_BACKOFF.toMillis());

0 commit comments

Comments
 (0)