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

Support asynchronous upload of images #304

Open
Gowee opened this issue Aug 15, 2023 · 0 comments
Open

Support asynchronous upload of images #304

Gowee opened this issue Aug 15, 2023 · 0 comments

Comments

@Gowee
Copy link

Gowee commented Aug 15, 2023

Hi!

There are some persistent issues with Wikimedia's servers (T335243, T340901, T340917), which effectively prevents large files to be uploaded.

It appears that the problem can be mitigated by toggling the async flag when calling API:Upload, as noted here. I have conducted tests utilizing the async option of pywikibot, resulting in notable improvements in upload stability when dealing with files of several gigabytes in size.

I suggest that we consider incorporating this option into the mwclient library. This could lead to a more efficient and smoother uploading process for users who handle large files via the library.

@RheingoldRiver RheingoldRiver changed the title Support asynchronous upload Support asynchronous upload of images Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants