Skip to content

Fix/lazy load handler#354

Merged
patduin merged 12 commits into
mainfrom
fix/lazy_load_handler
Oct 31, 2025
Merged

Fix/lazy load handler#354
patduin merged 12 commits into
mainfrom
fix/lazy_load_handler

Conversation

@patduin
Copy link
Copy Markdown
Contributor

@patduin patduin commented Oct 27, 2025

📝 Description

🔗 Related Issues

Socket socket = ((TSocket) transport).getSocket();
log.debug("Received a connection from ip: {}", socket.getInetAddress().getHostAddress());
}
CloseableIHMSHandler baseHandler = federatedHMSHandlerFactory.create();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This gets created when a tcp connection is made (LoadBalancer might do this for livelyness check), the handles won't get invoked until a thrift client does a real call, so it makes sense to defer the creation of this when get a real invocation.
This will reduce the clutter in the logs where it looks like we are getting a lot of calls even if we aren't.

@patduin patduin marked this pull request as ready for review October 29, 2025 15:01
@patduin patduin requested a review from a team as a code owner October 29, 2025 15:01
@patduin patduin merged commit 0afcbee into main Oct 31, 2025
4 checks passed
@patduin patduin deleted the fix/lazy_load_handler branch October 31, 2025 10:33
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.

2 participants