File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 66 "time"
77)
88
9- const Version_6JD79I0 = true
9+ const Version_P0N4MSO = true
1010
1111type KeyResolver interface {
1212 Resolve (string )
@@ -58,6 +58,7 @@ type WorkerReporter interface {
5858 ReportStatus (v WorkerStatus )
5959 ReportStartTime (v time.Time )
6060 ReportJobsCurrent (v uint32 )
61+ ReportLive (v uint8 )
6162 ReportCPU (v int64 )
6263 ReportCPULimit (v int64 )
6364 ReportMem (v int64 )
@@ -73,6 +74,7 @@ type WorkerTx interface {
7374 ReportStatus (v WorkerStatus )
7475 ReportStartTime (v time.Time )
7576 ReportJobsCurrent (v uint32 )
77+ ReportLive (v uint8 )
7678 ReportCPU (v int64 )
7779 ReportCPULimit (v int64 )
7880 ReportMem (v int64 )
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ func (r *noopWorkerReporter) ReportLoad(v float32)
9595func (r * noopWorkerReporter ) ReportStatus (v WorkerStatus ) {}
9696func (r * noopWorkerReporter ) ReportStartTime (v time.Time ) {}
9797func (r * noopWorkerReporter ) ReportJobsCurrent (v uint32 ) {}
98+ func (r * noopWorkerReporter ) ReportLive (v uint8 ) {}
9899func (r * noopWorkerReporter ) ReportCPU (v int64 ) {}
99100func (r * noopWorkerReporter ) ReportCPULimit (v int64 ) {}
100101func (r * noopWorkerReporter ) ReportMem (v int64 ) {}
You can’t perform that action at this time.
0 commit comments