S3 Bucket takes approximately 15 seconds to upload file from polly to S3. When the user gets directed to the download page, usually the link is not found since the file has not been uploaded. In this PR, we wait for the file to be uploaded to the bucket before it directs the user to the download page.
S3 Bucket takes approximately 15 seconds to upload file from polly to S3. When the user gets directed to the download page, usually the link is not found since the file has not been uploaded. In this PR, we wait for the file to be uploaded to the bucket before it directs the user to the download page.