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

Remove stockitemmanager #5727

Merged

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Oct 17, 2023

Remove class which is not used anywhere

@SchrodingersGat SchrodingersGat added this to the 0.13.0 milestone Oct 17, 2023
@netlify
Copy link

netlify bot commented Oct 17, 2023

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 0967014
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/652e18f62b03e90008b2f508

- Not used anywhere
- Reference: inventree#5586
@SchrodingersGat SchrodingersGat changed the title Remote stockitemmanager Remove stockitemmanager Oct 17, 2023
@matmair
Copy link
Contributor

matmair commented Oct 17, 2023

Sean like this could Safe some queries. Any idea why this stopped being used?

@SchrodingersGat
Copy link
Member Author

Some simple testing indicates that it is actually more expensive to use this manager everywhere - I guess we have spent enough time optimizing each individual API endpoint / query that this "big hammer" approach is not helpful

@SchrodingersGat SchrodingersGat merged commit ccaece3 into inventree:master Oct 17, 2023
24 checks passed
@SchrodingersGat SchrodingersGat deleted the remote-stockitemmanager branch October 17, 2023 10:21
@matmair
Copy link
Contributor

matmair commented Oct 17, 2023

Intestine inside; might be something to watch out for in sentry data.

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

Successfully merging this pull request may close these issues.

None yet

2 participants