halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
34.02k stars 9.71k forks source link

[release-2.19] refactor: optimize request headers when generating thumbnails from URI #6633

Closed halo-dev-bot closed 2 months ago

halo-dev-bot commented 2 months ago

This is an automated cherry-pick of #6628

/assign JohnNiang

None
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

f2c-ci-robot[bot] commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/halo-dev/halo/blob/release-2.19/OWNERS)~~ [ruibaby] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Please upload report for BASE (release-2.19@a5ff816). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...tachment/reconciler/LocalThumbnailsReconciler.java 0.00% 2 Missing :warning:
...re/attachment/reconciler/AttachmentReconciler.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-2.19 #6633 +/- ## =============================================== Coverage ? 58.06% Complexity ? 3916 =============================================== Files ? 670 Lines ? 22974 Branches ? 1576 =============================================== Hits ? 13341 Misses ? 9017 Partials ? 616 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.