Skip to content

Conversation

@sven-ola
Copy link

@sven-ola sven-ola commented Apr 25, 2025

The https://localhost:4443 is very slow on a PI. Main reason is the very slow jq-1.6 on recent Armbians that is executed several times when "source etc/library.sh". One can generally install a faster alternative (see https://github.com/01mf02/jaq) but also this MR implements some fast caching for CPU hogging lines in library.sh

trap 'cd /; rm -rf "${TEMPDIR}"' EXIT

echo -e "Downloading updates"
git clone --depth 20 -b "$BRANCH" -q https://github.com/nextcloud/nextcloudpi.git "$TEMPDIR" || {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution: NCP update source was changed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the reminder. I was not aware that I was still working on the PullRQ-ed branch. The above change was not meant to be pulled in here. Also, Github complains about signed-offs, thus I will cancel the request.

@sven-ola sven-ola closed this Nov 15, 2025
@sven-ola
Copy link
Author

This pretty old and I don't think it's helpful any more.

@sven-ola sven-ola deleted the fix-ncpweb-performance branch November 17, 2025 21:52
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.

2 participants