Skip to content

Commit

Permalink
[pinpoint-apm#9474] Fix server call executor configs
Browse files Browse the repository at this point in the history
  • Loading branch information
smilu97 committed Dec 22, 2022
1 parent 0eb0596 commit c889584
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@
</util:list>

<bean id="grpcAgentServerExecutor" class="com.navercorp.pinpoint.collector.receiver.ExecutorFactoryBean" parent="abstractReceiverExecutorFactoryBean">
<property name="corePoolSize" value="0" />
<property name="maxPoolSize" value="#{grpcAgentReceiverConfig.serverExecutor.threadSize}" />
<property name="queueCapacity" value="#{grpcAgentReceiverConfig.serverExecutor.queueSize}" />
<property name="executorConfiguration" value="#{grpcAgentReceiverConfig.serverExecutor}"/>
<property name="threadNamePrefix" value="Pinpoint-GrpcAgent-Server-"/>
</bean>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ collector.receiver.grpc.agent.bindaddress.ip=0.0.0.0
collector.receiver.grpc.agent.bindaddress.port=9991
# Executor of Server
collector.receiver.grpc.agent.server.executor.thread_size=8
collector.receiver.grpc.agent.server.executor.queue_size=0
collector.receiver.grpc.agent.server.executor.queue_size=256
collector.receiver.grpc.agent.server.executor.monitor_enable=false
# Call Executor of Server
collector.receiver.grpc.agent.server-call.executor.thread_size=8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ collector.receiver.grpc.agent.bindaddress.ip=0.0.0.0
collector.receiver.grpc.agent.bindaddress.port=9991
# Executor of Server
collector.receiver.grpc.agent.server.executor.thread_size=8
collector.receiver.grpc.agent.server.executor.queue_size=0
collector.receiver.grpc.agent.server.executor.queue_size=256
collector.receiver.grpc.agent.server.executor.monitor_enable=false
# Executor of Server
# Call Executor of Server
collector.receiver.grpc.agent.server-call.executor.thread_size=8
collector.receiver.grpc.agent.server-call.executor.queue_size=256
collector.receiver.grpc.agent.server-call.executor.monitor_enable=true
Expand Down

0 comments on commit c889584

Please sign in to comment.