Add reset-latency StartOS action
Calls POST /api/admin/reset-latency to zero the block-update latency counters. Available while the service is running, no warning needed.
This commit is contained in:
@@ -166,6 +166,14 @@ actions:
|
||||
- stopped
|
||||
implementation:
|
||||
type: script
|
||||
reset-latency:
|
||||
name: "Reset Block Latency"
|
||||
description: "Zeroes the block-update latency counters (avg, last, wasted work, block count). Use this after tuning ZMQ or ckpool to start fresh measurements."
|
||||
warning: ~
|
||||
allowed-statuses:
|
||||
- running
|
||||
implementation:
|
||||
type: script
|
||||
|
||||
migrations:
|
||||
from:
|
||||
|
||||
Reference in New Issue
Block a user