Skip to content

Commit

Permalink
Change window
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Sep 28, 2022
1 parent 0daa785 commit cba17d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metadata/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (s *Service[T]) lastHope(ctx context.Context) {
case <-ctx.Done():
return
case <-ticker.C:
if err := s.repo.Retry(s.network, s.maxRetryCount, time.Hour/time.Millisecond); err != nil {
if err := s.repo.Retry(s.network, s.maxRetryCount, time.Hour/time.Second); err != nil {
log.Err(err).Msg("repo.Retry")
continue
}
Expand Down

0 comments on commit cba17d8

Please sign in to comment.