DennisKonrad edited a comment on issue #2820: template downloading fails
URL: https://github.com/apache/cloudstack/issues/2820#issuecomment-435843927
 
 
   Could this have to do with this hardcored max size defined here:
   
   
[DownloadManagerImpl.java](https://github.com/apache/cloudstack/blob/1d05fead49f5c856257a741b07122f5633d2e359/services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/template/DownloadManagerImpl.java#L712-L714)
   `        // TO DO - Define Volume max size as well
           long maxDownloadSizeInBytes =
                   (cmd.getMaxDownloadSizeInBytes() == null) ? 
TemplateDownloader.DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES : 
(cmd.getMaxDownloadSizeInBytes());`
   
   It is set to:
   
   
[TemplateDownloader.java](https://github.com/apache/cloudstack/blob/1d05fead49f5c856257a741b07122f5633d2e359/core/src/main/java/com/cloud/storage/template/TemplateDownloader.java#L37)
   `long DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES = 50L * 1024L * 1024L * 1024L;`
   
   This equates to 50MB if i am not mistaken. @izenk @andrijapanic 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to