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

fix(plugins): handle concurrent http downloads #3664

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Oct 11, 2024

This should hopefully fix #3479

Previously, if loading the same plugin multiple times from a remote URL - the downloads would each cache to the same file on the HD and corrupt each other.

This solves the problem by creating a concurrent locking mechanism, making sure there's only one download of the same URL happening at the same time.

@imsnif imsnif merged commit 6320887 into main Oct 11, 2024
6 checks passed
Tomcat-42 pushed a commit to Tomcat-42/zellij that referenced this pull request Nov 9, 2024
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.

bug: parallel downloads of the same plugin via web locations break the plugin
1 participant