MatthiasEberl / cordysfilecon

Automatically exported from code.google.com/p/cordysfilecon
Apache License 2.0
0 stars 0 forks source link

Directory Poller : processing of the file does not start after the track time has elapsed #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure the directory poller with polling interval of 5 minutes and track 
time of 5 seconds for a folder
2. Start fileconnector and place a file in the configured input folder 
3. Wait till the run till the file is completely processed 
4. Observe the log file for the time taken for processing the file.
5. Reference: 
   https://support.cordys.com/?INCIDENT_ID=INC9948

What is the expected output? What do you see instead?
- In this case it is expected that the processing of the file should have 
started 5 seconds from placing the new file in the input folder. However, it is 
observed that the processing of the file starts after 10 minutes.

What version of the product are you using? On what operating system?
1) Cordys C3 FP4 CU3
2) Cordys CoE File Connector 1.2 Build 14

Please provide any additional information below.
The fix is incorporated in DirectoryPollerThread as shown in the attached patch.

Original issue reported on code.google.com by dineshkh...@gmail.com on 27 May 2011 at 10:59

GoogleCodeExporter commented 9 years ago
The patch for the fix to the issue. 
(The focus and scope is not on further improvements like checking for the 
configuration numeric parameter values for non negative numbers) 

Original comment by dineshkh...@gmail.com on 27 May 2011 at 1:05

Attachments:

GoogleCodeExporter commented 9 years ago
Applied patch.

Original comment by srkrishn...@gtempaccount.com on 30 May 2011 at 9:05