Browse Source

opt

tags/v1.21.12.1
lewis 3 years ago
parent
commit
02546c4102
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      routers/repo/repo_statistic.go

+ 2
- 2
routers/repo/repo_statistic.go View File

@@ -50,7 +50,7 @@ func RepoStatisticDaily(date string) {
var maxRepoRadar models.RepoStatistic

for i, repo := range repos {
log.Info("start statistic: %s", repo.Name)
log.Info("start statistic: %s", getDistinctProjectName(repo))
var numDevMonths, numWikiViews, numContributor, numKeyContributor, numCommitsGrowth, numCommitLinesGrowth, numContributorsGrowth int64
repoGitStat, err := models.GetRepoKPIStats(repo)
if err != nil {
@@ -232,7 +232,7 @@ func RepoStatisticDaily(date string) {

}

log.Info("finish statistic: %s", repo.Name)
log.Info("finish statistic: %s", getDistinctProjectName(repo))
}

//radar map


Loading…
Cancel
Save