forked from LyricalString/Node-Discord-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
58 lines (53 loc) · 1.56 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
server: # REST and WS server
port: 2333
address: 0.0.0.0
lavalink:
server:
password: "youshallnotpass"
playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
koe:
useEpoll: true
highPacketPriority: true
bufferDurationMs: 400
byteBufAllocator: "default"
sources:
youtube: false
bandcamp: true
soundcloud: true
twitch: true
vimeo: true
http: true
local: true
lavaplayer:
nonAllocating: false # Whether to use the non-allocating frame buffer.
frameBufferDuration: 5000 # The frame buffer duration, in milliseconds
youtubePlaylistLoadLimit: 6 # Number of pages at 100 each
gc-warnings: true
youtubeSearchEnabled: true
soundcloudSearchEnabled: true
ratelimit:
ipBlocks: [] # list of ip blocks
#excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink
strategy: "LoadBalance" # 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
metrics:
prometheus:
enabled: false
endpoint: /metrics
sentry:
dsn: ""
environment: ""
# tags:
# some_key: some_value
# another_key: another_value
logging:
file:
path: ./logs/
logback:
rollingpolicy:
max-file-size: 1GB
max-history: 30
level:
root: INFO
lavalink: INFO