You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/12/13 01:50:23 UTC

[GitHub] [inlong] dockerzhang commented on a diff in pull request #6855: [INLONG-6852][Audit] agent and dataproxy report audit data when the program exits

dockerzhang commented on code in PR #6855:
URL: https://github.com/apache/inlong/pull/6855#discussion_r1046582857


##########
inlong-dataproxy/bin/dataproxy-stop.sh:
##########
@@ -20,4 +20,7 @@
 #
 
 # this program kills the dataProxy
+ps -ef |grep "org.apache.inlong.dataproxy.node.Application"|grep "inlong-dataproxy"|grep -v grep|awk '{print $2}'|xargs kill
+echo "Stoping inlong-dataproxy application,please wait 30s. "
+sleep 30

Review Comment:
   ```suggestion
   sleep 15
   ```



##########
inlong-dataproxy/bin/dataproxy-stop.sh:
##########
@@ -20,4 +20,7 @@
 #
 
 # this program kills the dataProxy
+ps -ef |grep "org.apache.inlong.dataproxy.node.Application"|grep "inlong-dataproxy"|grep -v grep|awk '{print $2}'|xargs kill
+echo "Stoping inlong-dataproxy application,please wait 30s. "

Review Comment:
   ```suggestion
   echo "Stopping DataProxy application, please wait for 15s. "
   ```



-- 
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-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org