Skip to content

Commit 5c6b023

Browse files
authored
Merge branch 'main' into elhmn-get-process-group-data
2 parents 3a2dd9b + 0ff61f7 commit 5c6b023

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/governor/conn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ func readSockstat(environ []string) updateData {
201201
res.PubkeyVerifierID = sockstat.Uint32Value(parts[1])
202202
case "pubkey_creator_id":
203203
res.PubkeyCreatorID = sockstat.Uint32Value(parts[1])
204-
case "gitmon_delay":
205-
res.GitmonDelay = sockstat.Uint32Value(parts[1])
204+
case "max_delay":
205+
res.MaxDelay = sockstat.Uint32Value(parts[1])
206206
case "command_id":
207207
res.CommandID = sockstat.StringValue(parts[1])
208208
case "group_id":

internal/governor/governor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type updateData struct {
6969
GitProtocol string `json:"git_protocol,omitempty"`
7070
PubkeyVerifierID uint32 `json:"pubkey_verifier_id,omitempty"`
7171
PubkeyCreatorID uint32 `json:"pubkey_creator_id,omitempty"`
72-
GitmonDelay uint32 `json:"gitmon_delay,omitempty"`
72+
MaxDelay uint32 `json:"max_delay,omitempty"`
7373
// An ID that identifies a group of commands that all make up one
7474
// logical request. Is only used by the githttpdaemon to sync
7575
// its gitmon proxy and request scheduler logical threads

0 commit comments

Comments
 (0)