diff options
| -rw-r--r-- | cmd/main/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/main/main.go b/cmd/main/main.go index 531b0ab..98b0638 100644 --- a/cmd/main/main.go +++ b/cmd/main/main.go @@ -65,6 +65,9 @@ func jobNotifyDedup(conf *Config, prevJobs, newJobs map[string]*jobResponse) { if time.Now().After( oldresp.Time.Add(time.Duration(conf.RenotifyInterval) * time.Second)) { + // Reset the time + newJobs[id] = resp + buf.Write([]byte( "still active --> " + resp.Message, )) |
