wwbmmm commented on code in PR #2519:
URL: https://github.com/apache/brpc/pull/2519#discussion_r1481020372
##########
src/brpc/global.cpp:
##########
@@ -329,6 +334,9 @@ static void GlobalInitializeOrDieImpl() {
// Make GOOGLE_LOG print to comlog device
SetLogHandler(&BaiduStreamingLogHandler);
+ // Set bthread create span function
+ bthread_set_create_span_func(CreateBthreadSpan);
Review Comment:
这个行为是不是加个开关来控制?否则可能会影响现有的用户
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]