Skip to content

Shouldn't the services.AddTcpProbes take in a int instead of string? #555

Answered by fgheysels
stijnmoreels asked this question in Q&A
Discussion options

You must be logged in to vote

You mean that this class has a dependency on IConfiguration and that the health-port needs to be specified under a specific key.
Indeed, it would be better if the TcpHealthListener receives the port itself instead of having to fetch it from the config.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stijnmoreels
Comment options

stijnmoreels May 7, 2025
Maintainer Author

Answer selected by stijnmoreels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants