xiaokang commented on code in PR #44999: URL: https://github.com/apache/doris/pull/44999#discussion_r1942321042
########## extension/logstash/lib/logstash/outputs/doris.rb: ########## @@ -131,22 +134,45 @@ def register end end + if @max_retry_queue_mb <= 0 + @max_retry_queue_mb = java.lang.Runtime.get_runtime.max_memory / 1024 / 1024 / 5 + end + @logger.info("max retry queue size: #{@max_retry_queue_mb}MB") + + @retry_queue = java.util.concurrent.DelayQueue.new Review Comment: use blank instead of tab to indent -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org