Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 96c2c3c

Browse files
authored
Adding log message when Pub/Sub maintain_leases exits. (#4484)
1 parent c072aa1 commit 96c2c3c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • google/cloud/pubsub_v1/subscriber/policy

google/cloud/pubsub_v1/subscriber/policy/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ def maintain_leases(self):
309309
while True:
310310
# Sanity check: Should this infinite loop quit?
311311
if not self._consumer.active:
312+
_LOGGER.debug('Consumer inactive, ending lease maintenance.')
312313
return
313314

314315
# Determine the appropriate duration for the lease. This is

0 commit comments

Comments
 (0)