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

Autoloader blindly checks for file existence #452

Open
rmccue opened this issue Oct 12, 2020 · 0 comments
Open

Autoloader blindly checks for file existence #452

rmccue opened this issue Oct 12, 2020 · 0 comments

Comments

@rmccue
Copy link
Member

rmccue commented Oct 12, 2020

The custom autoloader for the plugin checks for file existence even when it's not a class we know about. In high-load situations, this can lead to large numbers of filesystem access checks for non-existent classes.

As all classes in this project are prefixed with S3_Uploads, we should check for that string before hitting the filesystem.

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

No branches or pull requests

1 participant