Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse only current fog dir #235 #241

Merged
merged 1 commit into from
Dec 6, 2015
Merged

Conversation

momolog
Copy link
Contributor

@momolog momolog commented Dec 6, 2015

This PR makes browsing non-trivial s3 directories usable by only parsing the current directory and not alway building the whole tree.
It also reduces the code complexity of the media management.

makes browsing non-trivial s3 directories usable
+ reduces code complexity considerably
owen2345 added a commit that referenced this pull request Dec 6, 2015
@owen2345 owen2345 merged commit beb71a8 into owen2345:master Dec 6, 2015
@yortz
Copy link
Contributor

yortz commented Dec 7, 2015

Sweet @momolog thanks for this: actually I've tested it out and it seems to speed things up when trying to access the media page by hitting the index action on the controller; to be honest I think that it still needs some polishing around the edges because it looks like that now it hangs while trying to access the subfolders, anyway this is a definitive improvement 👍

@momolog
Copy link
Contributor Author

momolog commented Dec 7, 2015

@yortz It should work on subfolders as well (does for me).
If you still experience problems you should provide a more detailed bug description, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants