> @@ -51,16 +53,16 @@
> */
> public class UploadDirectoryToCDN implements Closeable {
> // The provider configures jclouds To use the Rackspace Cloud (US)
> - // To use the Rackspace Cloud (UK) set the provider to "cloudfiles-uk"
> - public static final String PROVIDER = "cloudfiles-us";
> - public static final int THREADS = 10;
> -
> + // To use the Rackspace Cloud (UK) set the system property or default
> value to "cloudfiles-uk"
> + public static final String PROVIDER =
> System.getProperty(PROPERTY_PROVIDER, "cloudfiles-us");
> + public static final int THREADS =
> Integer.getInteger(PROPERTY_IO_WORKER_THREADS, 10);
My preference would be to use different ones. Example code shouldn't be that
dangerous.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/13/files#r5440457