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

Improve with logging deep components #432

Merged
merged 1 commit into from
Sep 6, 2022
Merged

Improve with logging deep components #432

merged 1 commit into from
Sep 6, 2022

Conversation

miry
Copy link
Contributor

@miry miry commented Sep 4, 2022

Propogate context with logger to ToxicCollection, ToxicLink.

@miry miry self-assigned this Sep 4, 2022
@miry miry added the Toxiproxy label Sep 4, 2022
@miry miry added this to the 2.5.0 milestone Sep 4, 2022
@miry miry marked this pull request as ready for review September 4, 2022 00:26
@miry miry mentioned this pull request Sep 4, 2022
18 tasks
@miry miry requested review from a team, jgaskins, djlebersilvestre and dabealu and removed request for a team September 5, 2022 11:57
}

func timeoutMiddleware(next http.Handler) http.Handler {
return http.TimeoutHandler(next, 30*time.Second, "")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Increased timeout from 5 seconds to 30 seconds.

Propogate context with logger to ToxicCollection, ToxicLink.
@miry miry merged commit dc4b9e4 into master Sep 6, 2022
@miry miry deleted the propogate-logger branch September 6, 2022 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants