You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/system
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991)
Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .
10 months ago
..
appstate.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go move repository deletion to service layer (#26948) 10 months ago
notice.go Replace `interface{}` with `any` (#25686) 1 year ago
notice_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
setting.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 10 months ago
setting_key.go Implement FSFE REUSE for golang files (#21840) 2 years ago
setting_test.go Avoid warning for system setting when start up (#23054) 1 year ago