diff options
| author | tv <tv@krebsco.de> | 2026-10-31 06:53:00 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 06:53:00 +0100 |
| commit | 1cb2ef3f00e695a414de87acfec090dfde749934 (patch) | |
| tree | bfb67dd536741f6d1e1c09a79c114953dc5c3530 /docs | |
| parent | 88160e8aa273090c55103e7a92eeae9a8bdac9ed (diff) | |
add peer clock skew warning
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/openapi.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml index d1f5935..1b20ee9 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1802,6 +1802,26 @@ components: type: [integer, 'null'] count: type: integer + clock: + type: object + description: This node's clock against its active peers' (`measurements.md`, Clocks). + required: [peers, offsetMs, behind, ahead, off] + properties: + peers: + type: integer + description: Active peers whose clocks were compared. + offsetMs: + type: [integer, 'null'] + description: How far ours is ahead of theirs (behind if negative), the median. + behind: + type: integer + description: Peers behind ours by more than --clock-skew-warn, for sure. + ahead: + type: integer + description: Peers ahead of ours by more than --clock-skew-warn, for sure. + off: + type: boolean + description: Ours differs from more than half of theirs that way. LockWaits: type: object |
