[
https://issues.apache.org/jira/browse/ROCKETMQ-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279882#comment-16279882
]
ASF GitHub Bot commented on ROCKETMQ-323:
-----------------------------------------
lindzh commented on issue #200: [ROCKETMQ-323] Release semaphore after callback
being finished for async invoke
URL: https://github.com/apache/rocketmq/pull/200#issuecomment-349577268
LGTM~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Release semaphore after callback being finished for async invoke
> ----------------------------------------------------------------
>
> Key: ROCKETMQ-323
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-323
> Project: Apache RocketMQ
> Issue Type: Improvement
> Components: rocketmq-client
> Affects Versions: 4.0.0-incubating, 4.1.0-incubating
> Reporter: yukon
> Assignee: yukon
> Fix For: 4.2.0
>
>
> Currently, the async semaphore will be released before invoking the callback,
> if the callback is a heavy task which is not recommended, lots of async
> requests will be queued in `publicExecutor` thread pool, may cause OOM or FGC.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)