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:
parent
49a4b8cb7d
commit
fe37e5232b
15 changed files with 143 additions and 14 deletions
|
@ -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'>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue