kezhenxu94 commented on code in PR #11639:
URL: https://github.com/apache/skywalking/pull/11639#discussion_r1419918664


##########
oap-server/server-library/library-server/src/main/java/org/apache/skywalking/oap/server/library/server/grpc/GRPCServer.java:
##########
@@ -109,10 +111,9 @@ public void initialize() {
     }
 
     static class CustomRejectedExecutionHandler implements 
RejectedExecutionHandler {
-
         @Override
         public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) 
{
-            log.warn("Grpc server thread pool is full, rejecting the task");
+            log.warn("Task {} rejected from {}", r.toString(), 
executor.toString());

Review Comment:
   This log message adds some useful information to the logs, e.g. the 
executor's running thread, queueing tasks number, etc.



-- 
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]

Reply via email to