pdolif commented on code in PR #14:
URL: https://github.com/apache/pulsar-connectors/pull/14#discussion_r3104904780
##########
file/src/main/java/org/apache/pulsar/io/file/FileListingThread.java:
##########
@@ -97,7 +97,7 @@ public void run() {
}
try {
- sleep(pollingInterval - 1);
+ sleep(pollingInterval);
} catch (InterruptedException e) {
// Just ignore
Review Comment:
@lhotari It is reflected now. What about `FileConsumerThread` and
`ProcessedFileThread`? I think for them it is the same and should also be
changed. I am just not sure whether it should be done in this PR or in a
separate one.
--
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]