Skip to content

Conversation

@nand4011
Copy link
Contributor

@nand4011 nand4011 commented May 1, 2025

Send the only-once headers once per instance of the add header interceptor, instead of once over the life of the program. The old behavior would make a cache client stop a topics client from sending the agent header, and vice versa.

Send the only-once headers once per instance of the add header
interceptor, instead of once over the life of the program. The old
behavior would make a cache client stop a topics client from sending
the agent header, and vice versa.
@nand4011 nand4011 requested a review from a team May 1, 2025 07:28
Copy link
Contributor

@anitarua anitarua left a comment

Choose a reason for hiding this comment

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

nice!

Comment on lines -19 to -20
are_only_once_headers_sent = False

Copy link
Contributor

Choose a reason for hiding this comment

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

Good find. These were class variables like this. If this were a data class, they would be instance variables.

@nand4011 nand4011 merged commit 11da1a5 into main May 1, 2025
10 checks passed
@nand4011 nand4011 deleted the per-client-agent-header branch May 1, 2025 18:03
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.

4 participants