viant/dbsync

jobs registry.prune bug

Opened this issue · 0 comments

if jobs[i].EndTime.Sub(time.Now()) < pruneThreshold {

Whether this code should be changed to

if time.Now().Sub(*jobs[i].EndTime) < pruneThreshold