Procházet zdrojové kódy

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

Owen Diffey před 3 roky
rodič
revize
e5a2e9a137
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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 =