Skip to content

Commit

Permalink
Fix: wait group counter
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Dec 17, 2021
1 parent 1fb900c commit 86633f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/metadata/thumbnail/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ func (s *Service) dispatch(ctx context.Context) {
}

func (s *Service) work(ctx context.Context, one models.TokenMetadata) error {
defer s.wg.Done()

filename := fmt.Sprintf("%s/%d.png", one.Contract, one.TokenID)
if s.storage.Exists(filename) {
return nil
Expand Down

0 comments on commit 86633f0

Please sign in to comment.