Skip to content

docs(pubsub): MinExtensionPeriod defaults to 60 seconds#10791

Merged
hongalex merged 4 commits into
googleapis:mainfrom
azurda:patch-1
Nov 12, 2024
Merged

docs(pubsub): MinExtensionPeriod defaults to 60 seconds#10791
hongalex merged 4 commits into
googleapis:mainfrom
azurda:patch-1

Conversation

@azurda

@azurda azurda commented Aug 29, 2024

Copy link
Copy Markdown
Contributor

The comment in the documentation is confusing.

From what I read through the code:

minDurationPerLeaseExtensionExactlyOnce = 1 * time.Minute
minDurationPerLeaseExtensionExactlyOnce is set to 60 seconds

and if exactlyOnce it calls maxDuration which sets it to indeed 60 s

ackDeadline = maxDuration(ackDeadline, minDurationPerLeaseExtensionExactlyOnce)

@azurda azurda requested a review from shollyman as a code owner August 29, 2024 11:40
@azurda azurda requested review from a team August 29, 2024 11:40
@conventional-commit-lint-gcf

conventional-commit-lint-gcf Bot commented Aug 29, 2024

Copy link
Copy Markdown

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@azurda azurda changed the title Documentation: MinExtensionPeriod defaults to 60 seconds docs(minDurationPerLeaseExtensionExactlyOnce): MinExtensionPeriod defaults to 60 seconds Aug 29, 2024
@codyoss codyoss changed the title docs(minDurationPerLeaseExtensionExactlyOnce): MinExtensionPeriod defaults to 60 seconds docs(pubsub): MinExtensionPeriod defaults to 60 seconds Aug 29, 2024
@hongalex hongalex added the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 12, 2024
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 12, 2024
@hongalex hongalex merged commit cc88fe1 into googleapis:main Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants