-
Notifications
You must be signed in to change notification settings - Fork 9
deprecated methods and make optoout files truly parallel download #554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…com:IABTechLab/uid2-shared into wzh-UID2-6108-increase-thread-number-optout
private void cloudUploadBlocking(String fileToUpload) throws Exception { | ||
String cloudPath = this.cloudSync.toCloudPath(fileToUpload); | ||
try (InputStream localInput = this.localStorage.download(fileToUpload)) { | ||
this.cloudStorage.upload(localInput, cloudPath); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
// Be careful as the s3Path may contain the pre-signed S3 token, so do not log the whole path | ||
LOGGER.error("download error: " + ex.getClass().getSimpleName()); | ||
promise.fail(new Throwable(ex)); | ||
throw ex; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the original wrapping new Throwable(ex) on top of ex is because of
// Be careful as the s3Path may contain the pre-signed S3 token, so do not log the whole path ?
https://vertx.io/docs/guides/vertx-5-migration-guide/