这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@truboxl
Copy link
Contributor

@truboxl truboxl commented May 28, 2023

I think should give more spotlight to mirror.termux.dev which is buried deep in the list.

My testing (depending on time):
Best case: it works flawlessly
Bad case: it needs 5 or more retries to get my packages updated (package not found in mirror, redirection to http #47)
Worst case: it fails to get the metadata (incorrect size etc)

@truboxl truboxl requested a review from Grimler91 May 28, 2023 06:40
@Grimler91
Copy link
Member

I think it should be improved before promoted more, main issue is that it redirects every call to a random close mirror, so if 3 mirrors are roughly the same distance then each might be used. This is problematic since different mirrors sync at different times and with different intervals, so you might get the Packages list from mirror A, and then try to download a package in the list from mirror B which does not have it (yet).

Would be better if it would select a mirror and then stick to that one for all calls from a certain IP address for, say, 5 minutes. Maybe there is a better program than mirrorbits to solve this particular problem

@truboxl truboxl force-pushed the mirror.termux.dev branch from a0aac3f to a2bb0a2 Compare July 25, 2023 10:12
@truboxl
Copy link
Contributor Author

truboxl commented Nov 15, 2023

Abandoned per termux/termux-packages#18311 (comment)

@truboxl truboxl closed this Nov 15, 2023
@truboxl truboxl deleted the mirror.termux.dev branch November 15, 2023 09:45
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