Skip to content

Commit

Permalink
Merge pull request #1558 from 0chain/hotfix/repair-workers
Browse files Browse the repository at this point in the history
add web workers in repair
  • Loading branch information
dabasov authored Jul 17, 2024
2 parents 9eec22e + 629e040 commit 3c4e283
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wasmsdk/blobber.go
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,10 @@ func repairAllocation(allocationID string) error {
if err != nil {
return err
}
err = addWebWorkers(alloc)
if err != nil {
return err
}
statusBar := sdk.NewRepairBar(allocationID)
if statusBar == nil {
return errors.New("repair already in progress")
Expand Down

0 comments on commit 3c4e283

Please sign in to comment.