Browse Source

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

Owen Diffey 3 years ago
parent
commit
e5a2e9a137
1 changed files with 2 additions and 1 deletions
  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 =