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: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to