Skip to content

Commit

Permalink
hack: hacky fix for #374
Browse files Browse the repository at this point in the history
- will revert after a proper fix is designed.
  • Loading branch information
frrist committed Feb 18, 2021
1 parent 4a9b539 commit 69afaa0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vector/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"errors"
"fmt"
"os"
"time"

"github.com/google/go-cmp/cmp/cmpopts"

Expand Down Expand Up @@ -117,6 +118,8 @@ func (r *Runner) Run(ctx context.Context) error {
if err := chain.NewWalker(tsIndexer, r.opener, r.schema.Params.From, r.schema.Params.To).Run(ctx); err != nil && !errors.Is(err, context.Canceled) {
return err
}
// TODO remove when https://github.com/filecoin-project/sentinel-visor/issues/374 is fixed
time.Sleep(3 * time.Second)
return nil
}

Expand Down

0 comments on commit 69afaa0

Please sign in to comment.