xiaweiss / vite-plugin-ali-oss

Upload the production files bundled in the project to Ali OSS, except for html
MIT License
31 stars 10 forks source link

Request a retry feature #16

Open giiska opened 7 months ago

giiska commented 7 months ago

Thanks for your masterpiece, I am using your plugin heavily in many of my projects. I encountered a problem, when a single file upload timeouted and failed during this process of this plugin, it caused the whole Ci task failed. I request adding a retry option for each single upload to optimize this.

xiaweiss commented 7 months ago

ali-oss does not support retry.

I guess adding a retry count, an interval setting, then add a loop to catch.