Opened 15 years ago
Last modified 15 years ago
#219 closed defect (FIXED)
CloudFilesStorage.get_file() performance issue.
| Reported by: | joar | Owned by: | Christopher Allan Webber |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.0.5 |
| Component: | programming | Keywords: | |
| Cc: | Parent Tickets: |
Description
For the thumb listings such as the index page, gallery page a call to cloudfiles is made for every thumbnail on the page.
CloudFilesStorage should be changed to save container_url on init, and then use self._resolve_filepath() to generate the filepath without verifying that the file exists, just like BasicFileStorage does.

Hi Christopher, merge request filed at https://gitorious.org/mediagoblin/mediagoblin/merge_requests/19
Feedback if any much appreciated.
Cheers,