Skip to content

Commit fa95a52

Browse files
committed
Update Config.go
1 parent ed093db commit fa95a52

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Config.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ type Provider struct {
156156
refreshed uint64 // number of articles refreshed
157157
verified uint64 // number of articles verified
158158
}
159+
// speed tracking (updated by Speedmeter every PrintStats seconds)
160+
speed struct {
161+
downloadSpeed float64 // bytes/sec (download)
162+
uploadSpeed float64 // bytes/sec (upload)
163+
lastUpdated int64 // unix timestamp of last update
164+
}
159165
} // end Provider struct
160166

161167
type segmentChanItem struct {
@@ -204,6 +210,7 @@ type segmentChanItem struct {
204210
flaginYenc bool // if true, item is in writing to yenc cache
205211
flagisYenc bool // if true, item has been written to yenc cache
206212
flagCache bool // if true, item is cached
213+
memlocked int // counts up if item is memlocked
207214
checkedOn int // counts up if item has been checked on a provider
208215
pushedDL int // a counter for debugging
209216
pushedUP int // a counter for debugging

0 commit comments

Comments
 (0)