Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/governor/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ func readSockstat(environ []string) updateData {
res.PubkeyVerifierID = sockstat.Uint32Value(parts[1])
case "pubkey_creator_id":
res.PubkeyCreatorID = sockstat.Uint32Value(parts[1])
case "gitmon_delay":
res.GitmonDelay = sockstat.Uint32Value(parts[1])
case "max_delay":
res.MaxDelay = sockstat.Uint32Value(parts[1])
case "command_id":
res.CommandID = sockstat.StringValue(parts[1])
}
Expand Down
2 changes: 1 addition & 1 deletion internal/governor/governor.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type updateData struct {
GitProtocol string `json:"git_protocol,omitempty"`
PubkeyVerifierID uint32 `json:"pubkey_verifier_id,omitempty"`
PubkeyCreatorID uint32 `json:"pubkey_creator_id,omitempty"`
GitmonDelay uint32 `json:"gitmon_delay,omitempty"`
MaxDelay uint32 `json:"max_delay,omitempty"`
// An ID that identifies a group of commands that all make up one
// logical request. Is only used by the githttpdaemon to sync
// its gitmon proxy and request scheduler logical threads
Expand Down