Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Optimize packager acls #111

Merged
merged 5 commits into from Nov 12, 2014
Merged

Optimize packager acls #111

merged 5 commits into from Nov 12, 2014

Conversation

pypingou
Copy link
Member

By returning more info directly from the DB rather than loading it when building the JSON, the api endpoint /api/packager/acl// went from 10+seconds to 0.3 seconds.

@ralphbean
Copy link
Contributor

Awesome work :)

Does this change the format of response returned by the JSON api at all?

@pypingou
Copy link
Member Author

Does this change the format of response returned by the JSON api at all?

According to my tests and my unit-tests nope, but for sure we should be extra-careful in testing this :)

@ralphbean
Copy link
Contributor

Cool -- 👍 :)

pypingou added a commit that referenced this pull request Nov 12, 2014
@pypingou pypingou merged commit 34480d5 into master Nov 12, 2014
@pypingou pypingou deleted the optimize_packager_acls branch November 12, 2014 08:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants