RockteMQ-AI opened a new pull request, #1332: URL: https://github.com/apache/rocketmq-clients/pull/1332
## Summary Fix infinite recursion in Python PushConsumer `__execute_receive_later` that causes `RecursionError` under sustained backpressure. ## Problem `__execute_receive_later` called `__execute_receive` synchronously after `time.sleep()`. When the cache remains full, this creates a recursive call chain that causes stack overflow. ## Solution Replace the synchronous recursive call with thread pool scheduling: - `__execute_receive_later` now submits the delayed retry to `__receive_message_executor` - New `__delayed_execute_receive` method handles the sleep + retry - This breaks the call stack while preserving existing retry behavior Fixes #1331 -- 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]
