(liveness *store.SessionLivenessMeta)
| 819 | } |
| 820 | |
| 821 | func taskSessionMatchesRecordedSubprocess(liveness *store.SessionLivenessMeta) bool { |
| 822 | if liveness == nil || liveness.SubprocessPID <= 0 { |
| 823 | return false |
| 824 | } |
| 825 | if liveness.SubprocessStartedAt == nil || liveness.SubprocessStartedAt.IsZero() { |
| 826 | return false |
| 827 | } |
| 828 | return procutil.MatchesStartTime(liveness.SubprocessPID, *liveness.SubprocessStartedAt) |
| 829 | } |
| 830 | |
| 831 | func firstTaskRecoveryDetail(values ...string) string { |
| 832 | for _, value := range values { |