-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Audit: logging a response uses a separate 5 second timeout #24238
Audit: logging a response uses a separate 5 second timeout #24238
Conversation
… for logging a response
CI Results: |
Build Results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -10,6 +10,8 @@ import ( | |||
"sync" | |||
"time" | |||
|
|||
"github.com/hashicorp/vault/helper/namespace" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the cat came back the very next day,
the cat came back, they thought he was a goner.
But the cat came back; it just couldn’t stay away.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR addresses a potential issue with not attempting to audit log a response in which the context is already
Done
.Should resolve: #23871
(5 seconds was a sensible value that came from a conversation with @ncabatoff)