mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
perf: 调整内置延时机制
This commit is contained in:
@@ -49,7 +49,7 @@ def logging(log, text, style=INFO):
|
||||
|
||||
|
||||
async def sleep_time(
|
||||
min_time: int | float = 1.0,
|
||||
max_time: int | float = 2.5,
|
||||
min_time: int | float = 2.0,
|
||||
max_time: int | float = 4.0,
|
||||
):
|
||||
await sleep(uniform(min_time, max_time))
|
||||
|
||||
Reference in New Issue
Block a user