From 5ee178069d6d4dc2bf892d7c28585c0f1682881b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 6 Aug 2021 15:59:05 +0200 Subject: [PATCH] ignore warnings and add ratelimit --- src/application.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/application.yml b/src/application.yml index 1789c6a..56afc17 100644 --- a/src/application.yml +++ b/src/application.yml @@ -3,7 +3,7 @@ server: # REST and WS server address: 0.0.0.0 lavalink: server: - password: ${PASSWORD_LAVALINK} + password: youshallnotpass sources: youtube: true bandcamp: true @@ -17,13 +17,9 @@ lavalink: playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds youtubeSearchEnabled: true soundcloudSearchEnabled: true - gc-warnings: true - #ratelimit: - #ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks - #excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink - #strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch - #searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing - #retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times + gc-warnings: false + ratelimit: + retryLimit: 3 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times metrics: prometheus: @@ -33,9 +29,6 @@ metrics: sentry: dsn: "" environment: "" -# tags: -# some_key: some_value -# another_key: another_value logging: file: