Files
@ 533ec10dfd59
Branch filter:
Location: kallithea/docs/usage/performance.rst
533ec10dfd59
4.5 KiB
text/prs.fallenstein.rst
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.