satellite/audit: monitor worker function
Change-Id: I94d1161deffe4ea9782abee1afbb5735f18aab44
This commit is contained in:
parent
01895d8bdd
commit
17b057b33e
@ -101,7 +101,9 @@ func (worker *Worker) process(ctx context.Context) (err error) {
|
||||
}
|
||||
}
|
||||
|
||||
func (worker *Worker) work(ctx context.Context, path storj.Path) error {
|
||||
func (worker *Worker) work(ctx context.Context, path storj.Path) (err error) {
|
||||
defer mon.Task()(&ctx)(&err)
|
||||
|
||||
var errlist errs.Group
|
||||
|
||||
// First, attempt to reverify nodes for this segment that are in containment mode.
|
||||
|
Loading…
Reference in New Issue
Block a user