Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out Downstairs-specific stats #1511

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Split out Downstairs-specific stats #1511

merged 1 commit into from
Oct 17, 2024

Conversation

mkeeter
Copy link
Contributor

@mkeeter mkeeter commented Oct 16, 2024

(staged on top of #1510)

This removes another bit of awkward plumbing!

Previously, we had to pass an &UpStatOuter to any functions in the Downstairs that needed to update our Oximeter statistics. This PR splits the UpStatOuter into upstairs versus downstairs components, then stores a (shared) handle to the downstairs half in the Downstairs itself.

The Oximeter interface remains unchanged.

(Making the Downstairs more self-sufficient is a step towards doing immediate acks, i.e. eliminating ackable_jobs and simply sending acks as they become ready)

Base automatically changed from mkeeter/remove-guestwork to main October 17, 2024 20:46
@mkeeter mkeeter merged commit bfcc86f into main Oct 17, 2024
16 checks passed
@mkeeter mkeeter deleted the mkeeter/downstairs-stats branch October 17, 2024 20:48
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