Files
@ 533ec10dfd59
Branch filter:
Location: kallithea/scripts/make-release
533ec10dfd59
2.0 KiB
text/plain
pullrequests: refactor PullRequestModel().create
The database lookups of the user and repositories are moved outside,
into the callers, which have already looked up the relevant objects,
thus saving two database lookups when creating a PR.
The database lookups of the user and repositories are moved outside,
into the callers, which have already looked up the relevant objects,
thus saving two database lookups when creating a PR.