2
0
Эх сурвалжийг харах

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

Owen Diffey 3 жил өмнө
parent
commit
e5a2e9a137

+ 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 =