Add redundancy stats
This commit is contained in:
parent
cfc16a6db8
commit
4b5384f6e7
8 changed files with 132 additions and 33 deletions
|
@ -1,3 +1,5 @@
|
|||
import { VideoRedundancyStrategy } from '../redundancy'
|
||||
|
||||
export interface ServerStats {
|
||||
totalUsers: number
|
||||
totalLocalVideos: number
|
||||
|
@ -9,4 +11,12 @@ export interface ServerStats {
|
|||
|
||||
totalInstanceFollowers: number
|
||||
totalInstanceFollowing: number
|
||||
|
||||
videosRedundancy: {
|
||||
strategy: VideoRedundancyStrategy
|
||||
totalSize: number
|
||||
totalUsed: number
|
||||
totalVideoFiles: number
|
||||
totalVideos: number
|
||||
}[]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue