We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bff1152 + f325c84 commit d6e09d5Copy full SHA for d6e09d5
internal/governor/conn.go
@@ -209,6 +209,8 @@ func readSockstat(environ []string) updateData {
209
res.GroupID = sockstat.StringValue(parts[1])
210
case "group_leader":
211
res.GroupLeader = sockstat.GetBool(parts[1])
212
+ case "is_importing":
213
+ res.IsImporting = sockstat.BoolValue(parts[1])
214
}
215
216
internal/governor/governor.go
@@ -74,6 +74,8 @@ type updateData struct {
74
// logical request. Is only used by the githttpdaemon to sync
75
// its gitmon proxy and request scheduler logical threads
76
CommandID string `json:"command_id,omitempty"`
77
+ // IsImporting is true if the command is an import.
78
+ IsImporting bool `json:"is_importing,omitempty"`
79
80
81
func update(w io.Writer, ud updateData) error {
0 commit comments