Explorar o código

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

Owen Diffey %!s(int64=3) %!d(string=hai) anos
pai
achega
e5a2e9a137
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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 =