_fetchStars = async function(repo) {
  try {
    const headers = { Accept: "application/vnd.github.v3.json" };
    const githubToken = getGithubToken();
    if (githubToken) headers.authorization = `Bearer ${githubToken}`;
    let resp = null;
    const source = CancelToken.source();
    setTimeout(() => {
      if (resp === null) source.cancel("ECONNTIMEOUT");
    }, 10000);
    resp = await AxiosService.create().get(
      urljoin("https://api.github.com/repos/", repo),
      { headers, cancelToken: source.token }
    );
    const repoInfo = resp.data;
    const stars = repoInfo.stargazers_count || 0;
    await SiteInfo.setStars(stars);
  } catch (error) {
    logger.error(httpErrorInfo(error, {}), "fetch stars error");
  }
}
Fetch repository stars.
@param {string} repo