Skip to content

Commit

Permalink
1.1.220
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Jan 15, 2025
1 parent 0355fcf commit 0ccd0be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/ani/rss/util/BgmUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ public static void collectionsEpisodes(String episodeId, Integer type) {
return;
}

// 间隔 500 毫秒, 防止流控
ThreadUtil.sleep(500);

HttpReq.put(host + "/v0/users/-/collections/-/episodes/" + episodeId, true)
.header("Authorization", "Bearer " + ConfigUtil.CONFIG.getBgmToken())
.contentType(ContentType.JSON.getValue())
Expand Down

0 comments on commit 0ccd0be

Please sign in to comment.