Browse Source

Merge branch 'develop' into standalone_develop

pull/313/head
yystopf 3 years ago
parent
commit
4994179a33
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/controllers/commit_logs_controller.rb

+ 2
- 0
app/controllers/commit_logs_controller.rb View File

@@ -22,6 +22,8 @@ class CommitLogsController < ApplicationController
CommitLog.create(user: user, project: project, repository_id: repository_id,
name: repository_name, full_name: repository_full_name,
ref: ref, commit_id: commit_id, message: message)
# 统计数据新增
CacheAsyncSetJob.perform_later("project_common_service", {commits: 1}, project.id)
end

end


Loading…
Cancel
Save