1
0
Fork 0
forgejo/models
Lunny Xiao 0c5c34d7dd UpdateIssueUsersByMentions was calling database write operations while (#443)
a transaction session was in progress. MailParticipants was failing
silently because of the SQLITE_LOCKED error. Make sure failures in
MailParticipants enter the log, and pass on the transaction context.

issue: let caller pass in database context, and use it
issue_comment: obtain database context to pass to UpdateIssueMentions
issue_comment: log any error from call to MailParticipants
issue_mail: pass on database context to UpdateIssueMentions
2016-12-22 17:00:39 +08:00
..
migrations
access.go
action.go
admin.go
error.go
git_diff.go
git_diff_test.go
issue.go
issue_comment.go
issue_label.go
issue_mail.go UpdateIssueUsersByMentions was calling database write operations while (#443) 2016-12-22 17:00:39 +08:00
login_source.go
mail.go
models.go
models_sqlite.go
models_test.go
models_tidb.go
org.go
org_team.go
pull.go
release.go
repo.go
repo_branch.go
repo_collaboration.go
repo_editor.go
repo_mirror.go
repo_test.go
ssh_key.go
ssh_key_test.go
token.go
update.go
user.go
user_mail.go
webhook.go
webhook_slack.go
wiki.go