소스 검색

refactor(Station): Set auto request limit to 50% of per user request limit

Owen Diffey 3 년 전
부모
커밋
e5a2e9a137
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      frontend/src/components/Request.vue

+ 2 - 1
frontend/src/components/Request.vue

@@ -934,7 +934,8 @@ export default {
 			if (
 				!this.autoRequestLock &&
 				this.songsList.length < 50 &&
-				this.currentUserQueueSongs < this.station.requests.limit &&
+				this.currentUserQueueSongs <
+					this.station.requests.limit * 0.5 &&
 				this.autoRequest.length > 0
 			) {
 				const selectedPlaylist =