GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: update MessageDispatcher to not extend deadlines of messages which arrive early to 60s by dpcollins-google · Pull Request #570 · googleapis/java-pubsub

This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Conversation

@dpcollins-google

@dpcollins-google dpcollins-google commented Mar 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

It looks like we had 60 second deadline extensions in the client before we attempt to update this property, on the premise that it would be updated inline. Due to code drift, this is no longer true, so I changed it to 10s (the min value) by default instead for messages which arrive before the first recalculation cycle.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dpcollins-google
Update MessageDispatcher to not extend deadlines of messages which ar…
c14ed9a
…rive early to 60s
@dpcollins-google
dpcollins-google requested review from a team, hannahrogers-google and kamalaboulhosn March 15, 2021 16:44
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 15, 2021
@product-auto-label product-auto-label Bot added the api: pubsub Issues related to the googleapis/java-pubsub API. label Mar 15, 2021
@dpcollins-google dpcollins-google changed the title Update MessageDispatcher to not extend deadlines of messages which arrive early to 60s fix: update MessageDispatcher to not extend deadlines of messages which arrive early to 60s Mar 15, 2021
@dpcollins-google
fix: lint
2221468
@codecov

codecov Bot commented Mar 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #570 (3bb0679) into master (21886d3) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #570   +/-   ##
=========================================
  Coverage     78.83%   78.83%           
  Complexity      379      379           
=========================================
  Files            27       27           
  Lines          3420     3420           
  Branches        171      171           
=========================================
  Hits           2696     2696           
  Misses          651      651           
  Partials         73       73           
Impacted Files Coverage Δ Complexity Δ
.../com/google/cloud/pubsub/v1/MessageDispatcher.java 84.87% <100.00%> (ø) 26.00 <0.00> (ø)
...in/java/com/google/cloud/pubsub/v1/Subscriber.java 80.71% <100.00%> (ø) 24.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6e299f...3bb0679. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dpcollins-google
fix: record minimum value in distribution by default
3bb0679
hannahrogers-google
hannahrogers-google approved these changes Mar 15, 2021
View reviewed changes
@hannahrogers-google
hannahrogers-google merged commit e174e20 into master Mar 16, 2021
@hannahrogers-google
hannahrogers-google deleted the dpcollins-google-patch-1 branch March 16, 2021 01:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@kamalaboulhosn kamalaboulhosn Awaiting requested review from kamalaboulhosn
1 more reviewer
@hannahrogers-google hannahrogers-google hannahrogers-google approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: pubsub Issues related to the googleapis/java-pubsub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@dpcollins-google @hannahrogers-google
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.