To reproduce:
- Create a folder with 5000 files
- Create a project and procedure
- Create a subprocedure call invoking EC-S3:UploadFolder
- Specify directory from 1
- Run Procedure
EXPECTED RESULT:
Long pole should be communication to S3.
ACTUAL RESULT:
Long pole seems to be setting properties on the Flow Server.
Initial Triage:
When uploading a folder with 5000 files, it looks like we try to do 5000 serial setProperty requests to the FlowServer.
//set the properties
list.each {
item ->
def url = "https://" + bucketName + ".s3.amazonaws.com/" + item
System.out.println(item + " ==> [" + url + "]")
commander.setProperty(propResult + "/" + item, url)
}