mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-05 23:49:53 +08:00
chore: 默认设置请求频率限制,用户可手动调整
This commit is contained in:
@@ -78,7 +78,7 @@ impl BiliClient {
|
||||
.initial(*limit)
|
||||
.refill(*limit)
|
||||
.max(*limit)
|
||||
.interval(Duration::from_secs(*duration))
|
||||
.interval(Duration::from_millis(*duration))
|
||||
.build()
|
||||
});
|
||||
Self { client, limiter }
|
||||
|
||||
Reference in New Issue
Block a user