Closed ChipWolf closed 2 years ago
Please upgrade to https://github.com/itzg/docker-minecraft-server/releases/tag/2021.21.0 since I completely overhauled that whole process.
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.
@itzg still an issue, especially with folders containing thousands of files A suitable fix would be to whitelist files to replace env variables in rather than the current blacklist, we know which files we're interested in replacements occurring, not necessarily needing to check all files arbitrarily. Thanks
@ChipWolf did you upgrade the image? The whole thing is now implemented in Java and selectively processes only the appropriate files.
Please write up a new enhancement request for file whitelisting.
Describe the problem
Currently, the find command for environment variable substitution is very resource intensive as it's checking all files in the volume for each variable to be replaced. This could be improved by first finding any files with the prefix, then using that list as locations to run the replacements.
Container definition
Container logs
Notice the gap between the timestamps: