> @@ -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);

To allow us to tune the Jenkins job easily. Not sure if reusing the jclouds 
core constants is wise, though (since changing them potentially affects the 
behaviour of core), or whether we should better use different ones?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/13/files#r5440322

Reply via email to