Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Move stats incrementing to be out-of-band #1500

Merged
merged 1 commit into from
Dec 30, 2020
Merged

Conversation

sethvargo
Copy link
Member

The current stats are bound to the tx, which means they don't get incremented if the tx fails for any reason (including NotFound). This moves them out of the request path.

Release Note

Move stats calculations to be out-of-band

The current stats are bound to the tx, which means they don't get
incremented if the tx fails for any reason (including NotFound). This
moves them out of the request path.
@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Dec 30, 2020
@sethvargo
Copy link
Member Author

/assign @whaught

pkg/database/token.go Show resolved Hide resolved
pkg/database/token.go Show resolved Hide resolved
pkg/database/token.go Show resolved Hide resolved
pkg/database/token.go Show resolved Hide resolved
pkg/database/token.go Show resolved Hide resolved
pkg/database/token.go Show resolved Hide resolved
pkg/database/token.go Show resolved Hide resolved
pkg/database/token.go Show resolved Hide resolved
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sethvargo, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit e96d578 into main Dec 30, 2020
@google-oss-robot google-oss-robot deleted the sethvargo/oob_stats branch December 30, 2020 22:10
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants