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 {
209209 res .GroupID = sockstat .StringValue (parts [1 ])
210210 case "group_leader" :
211211 res .GroupLeader = sockstat .GetBool (parts [1 ])
212+ case "is_importing" :
213+ res .IsImporting = sockstat .BoolValue (parts [1 ])
212214 }
213215 }
214216
Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ type updateData struct {
7474 // logical request. Is only used by the githttpdaemon to sync
7575 // its gitmon proxy and request scheduler logical threads
7676 CommandID string `json:"command_id,omitempty"`
77+ // IsImporting is true if the command is an import.
78+ IsImporting bool `json:"is_importing,omitempty"`
7779}
7880
7981func update (w io.Writer , ud updateData ) error {
You can’t perform that action at this time.
0 commit comments