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

Remove transaction surrounding createAPIKey call #6221

Merged
merged 3 commits into from
May 29, 2024

Conversation

tempoz
Copy link
Contributor

@tempoz tempoz commented Mar 22, 2024

Related issues: N/A

@tempoz tempoz mentioned this pull request Mar 22, 2024
@tempoz tempoz force-pushed the transaction-not-required-for-fetch-quota-config branch from cff85a9 to 2af560e Compare March 25, 2024 17:34
@tempoz tempoz force-pushed the transaction-unnecessary-for-create-api-key branch from 24c2f00 to 42560cc Compare March 25, 2024 17:34
@tempoz tempoz force-pushed the transaction-not-required-for-fetch-quota-config branch from 2af560e to cc01e1f Compare March 25, 2024 18:25
@tempoz tempoz force-pushed the transaction-unnecessary-for-create-api-key branch 2 times, most recently from 56d2730 to f5cf4a8 Compare March 25, 2024 18:54
`createAPIKey` makes only one database call at the very end of the
transaction, which means the transaction only "rolls back" when that
insert fails, anyway, rendering the transaction unnecessary.
@tempoz tempoz force-pushed the transaction-unnecessary-for-create-api-key branch from dc22e05 to b4d6a2f Compare May 28, 2024 16:09
@tempoz tempoz changed the base branch from transaction-not-required-for-fetch-quota-config to master May 28, 2024 16:09
@tempoz tempoz requested a review from jdhollen May 28, 2024 16:09
@tempoz tempoz marked this pull request as ready for review May 28, 2024 16:10
@tempoz tempoz requested a review from jdhollen May 29, 2024 18:49
@tempoz tempoz merged commit 5618cc6 into master May 29, 2024
18 checks passed
@tempoz tempoz deleted the transaction-unnecessary-for-create-api-key branch May 29, 2024 20:31
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.

None yet

2 participants