justinwwhuang commented on code in PR #9216:
URL: https://github.com/apache/inlong/pull/9216#discussion_r1381375961


##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/utils/PluginUtils.java:
##########
@@ -97,7 +96,7 @@ public static Collection<File> findSuitFiles(TaskProfile 
jobConf) {
         Set<PathPattern> pathPatterns =
                 PathPattern.buildPathPattern(dirPatterns, 
jobConf.get(TASK_FILE_TIME_OFFSET, null));
         updateRetryTime(jobConf, pathPatterns);
-        int maxFileNum = jobConf.getInt(FILE_MAX_NUM, DEFAULT_FILE_MAX_NUM);
+        int maxFileNum = DEFAULT_FILE_MAX_NUM;

Review Comment:
   here is scan the directory not read the file context. 



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

Reply via email to