1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Add ability to customize views/playback interval

This commit is contained in:
Chocobozzz 2023-12-13 10:06:25 +01:00
parent 49a4b8cb7d
commit fe37e5232b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
15 changed files with 143 additions and 14 deletions

View file

@ -300,6 +300,27 @@ export interface ServerConfig {
homepage: {
enabled: boolean
}
openTelemetry: {
metrics: {
enabled: boolean
// milliseconds
playbackStatsInterval: number
}
}
views: {
videos: {
watchingInterval: {
// milliseconds
anonymous: number
// milliseconds
users: number
}
}
}
}
export type HTMLServerConfig = Omit<ServerConfig, 'signup'>