Skip to content
代码片段 群组 项目
未验证 提交 09b8830d 编辑于 作者: Manoj M J's avatar Manoj M J 提交者: GitLab
浏览文件

Revert "Merge branch..."

This reverts merge request !150660
上级 40367009
No related branches found
No related tags found
无相关合并请求
......@@ -33,7 +33,9 @@ def record_activity
return if user.last_activity_on == today
lease = Gitlab::ExclusiveLease.new("activity_service:#{user.id}", timeout: LEASE_TIMEOUT)
return unless lease.try_obtain
# Skip transaction checks for exclusive lease as it is breaking system specs.
# See issue: https://gitlab.com/gitlab-org/gitlab/-/issues/441536
return unless Gitlab::ExclusiveLease.skipping_transaction_check { lease.try_obtain }
user.update_attribute(:last_activity_on, today)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册