-
Notifications
You must be signed in to change notification settings - Fork 7
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
Factor out SrvResolver
#2
Comments
I think the entire srv_resolver file is duplicated in both cases. |
I believe this is the case (or meant to be the case). 😄 |
I looked at this briefly today, but was dismayed to see that Synapse's implementation includes We could pull the log context into matrix python common. I would advocate pretty strongly against that. That feels like inappropriate coupling between "make this HTTP request" and "oh, by the way we are tracking CPU time". |
See also matrix-org/synapse#10342. |
Sydent has an SrvResolver class here: https://github.com/matrix-org/sydent/blob/8331f94e1e22c72c84683c271142f3237c707a27/sydent/http/srvresolver.py#L104
Synapse has one too with an associated test case.
I couldn't see one in Sygnal.
The text was updated successfully, but these errors were encountered: