[
https://issues.apache.org/jira/browse/WHIRR-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian Cole resolved WHIRR-230.
-------------------------------
Resolution: Duplicate
duplicate of WHIRR-61
> reuse ComputeServiceContext
> ---------------------------
>
> Key: WHIRR-230
> URL: https://issues.apache.org/jira/browse/WHIRR-230
> Project: Whirr
> Issue Type: Improvement
> Reporter: Adrian Cole
>
> ComputeServiceContextBuilder.build() should ideally be called only once
> within a runtime of whirr, and always closed. We are currently re-opening
> this for commands, and not always closing it. This leaks threads and also
> time, as each time the context is created, it has to refetch image data.
> Getting better at sharing ComputeServiceContext objects across invocations
> could easily trim 30-45 seconds off a runtime.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira