internal/worker: remove delete from fetch-std-master
The delete statement in fetch-std-master always deleting either the last
version or
This isn't needed, since we have a /clean endpoint, so remove it.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
@@ -498,9 +498,6 @@ func (s *Server) handleFetchStdSupportedBranches(w http.ResponseWriter, r *http.
return fmt.Errorf("error scheduling fetch for %s: %w", requestedVersion, err)
}
}
- if err := s.db.DeletePseudoversionsExcept(r.Context(), stdlib.ModulePath, vm.ResolvedVersion); err != nil {
- return err
- }
}
return nil
}
