forgejo/modules/util
Lunny Xiao d92c2048b3
Performance improvements for pull request list page (#29900)
This PR will avoid load pullrequest.Issue twice in pull request list
page. It will reduce x times database queries for those WIP pull
requests.

Partially fix #29585

---------

Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit 62f8174aa2fae1481c7e17a6afcb731a5b178cd0)

Conflicts:
	models/activities/notification_list.go
	moved to models/activities/notification.go
2024-03-26 19:04:26 +01:00
..
filebuffer Add io.Closer guidelines (#29387) 2024-02-26 22:30:27 +01:00
rotatingfilewriter
color.go
color_test.go
error.go
file_unix.go
file_unix_test.go
file_windows.go
io.go
io_test.go
keypair.go
keypair_test.go
legacy.go
legacy_test.go
pack.go
pack_test.go
paginate.go
paginate_test.go
path.go
path_test.go
remove.go
sanitize.go
sanitize_test.go
sec_to_time.go
sec_to_time_test.go
shellquote.go
shellquote_test.go
slice.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
slice_test.go
string.go
string_test.go
timer.go
timer_test.go
truncate.go
truncate_test.go
url.go
util.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
util_test.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00