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

Ignore files over 1 MB when indexing #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

scottlaird
Copy link

This makes hugo-algolia skip files over 1 MB. This fixes #29.

This should fix replicatedhq#29, which causes hugo-algolia to crash when indexing sites with large files, such as video content.

Signed-off-by: Scott Laird <scott@sigkill.org>
Signed-off-by: Scott Laird <scott@sigkill.org>
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.

Crashes with out of memory when sites contain large video files
1 participant