dht store and stats query
This commit is contained in:
parent
93892a6f1d
commit
d5aa78cb39
13 changed files with 1114 additions and 74 deletions
ui/lib/api
|
@ -106,6 +106,7 @@ type TorrentDaemonMutation {
|
|||
}
|
||||
type TorrentDaemonQuery {
|
||||
torrents(filter: TorrentsFilter): [Torrent!]! @resolver
|
||||
stats: TorrentStats! @resolver
|
||||
}
|
||||
type TorrentFS implements Dir & FsEntry {
|
||||
name: String!
|
||||
|
@ -154,6 +155,21 @@ type TorrentProgress implements Progress {
|
|||
current: Int!
|
||||
total: Int!
|
||||
}
|
||||
type TorrentStats {
|
||||
bytesWritten: Int!
|
||||
bytesWrittenData: Int!
|
||||
bytesRead: Int!
|
||||
bytesReadData: Int!
|
||||
bytesReadUsefulData: Int!
|
||||
bytesReadUsefulIntendedData: Int!
|
||||
chunksWritten: Int!
|
||||
chunksRead: Int!
|
||||
chunksReadUseful: Int!
|
||||
chunksReadWasted: Int!
|
||||
metadataChunksRead: Int!
|
||||
piecesDirtiedGood: Int!
|
||||
piecesDirtiedBad: Int!
|
||||
}
|
||||
input TorrentsFilter {
|
||||
infohash: StringFilter
|
||||
name: StringFilter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue