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/09/06 09:01:18 UTC

[GitHub] [inlong] EMsnap commented on a diff in pull request #5804: [INLONG-5803][Agent] Fix NPE when collect file data

EMsnap commented on code in PR #5804:
URL: https://github.com/apache/inlong/pull/5804#discussion_r963449112


##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/file/MonitorTextFile.java:
##########
@@ -76,6 +77,7 @@ public void monitor(FileReaderOperator fileReaderOperator, TextFileReader textFi
      */
     private class MonitorEventRunnable implements Runnable {
 
+        private static final int WAIT_TIME = 30;

Review Comment:
   add a configuration for the wait time pls



-- 
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