Skip to content

Commit

Permalink
Update rthk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raileo98 authored Oct 24, 2024
1 parent 950ce52 commit b423ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/rthk.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ async def optimize_image_quality(imgUrl):
break

# 在迴圈結束後檢查是否滿足過條件,並額外減少 q
if has_matched_condition:
if has_matched_condition and upstream_response_length < 1000 * 100:
if q == 99:
q = 95

Expand Down

0 comments on commit b423ed9

Please sign in to comment.