File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,8 @@ func readSockstat(environ []string) updateData {
209
209
res .GroupID = sockstat .StringValue (parts [1 ])
210
210
case "group_leader" :
211
211
res .GroupLeader = sockstat .GetBool (parts [1 ])
212
+ case "is_importing" :
213
+ res .IsImporting = sockstat .BoolValue (parts [1 ])
212
214
}
213
215
}
214
216
Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ type updateData struct {
74
74
// logical request. Is only used by the githttpdaemon to sync
75
75
// its gitmon proxy and request scheduler logical threads
76
76
CommandID string `json:"command_id,omitempty"`
77
+ // IsImporting is true if the command is an import.
78
+ IsImporting bool `json:"is_importing,omitempty"`
77
79
}
78
80
79
81
func update (w io.Writer , ud updateData ) error {
You can’t perform that action at this time.
0 commit comments