forked from gitea/gitea
1
0
Fork 0
gitea/routers/web/admin
Yarden Shoham 7c3196ceac
Avoid warning for system setting when start up (#23054) (#23116)
Backport #23054

Partially fix #23050

After #22294 merged, it always has a warning log like `cannot get
context cache` when starting up. This should not affect any real life
but it's annoying. This PR will fix the problem. That means when
starting up, getting the system settings will not try from the cache but
will read from the database directly.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-02-24 16:46:11 -05:00
..
admin.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
admin_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
applications.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auths.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
config.go Avoid warning for system setting when start up (#23054) (#23116) 2023-02-24 16:46:11 -05:00
emails.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
hooks.go Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notice.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
orgs.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages.go Display unreferenced packages total size in package admin panel (#22498) 2023-01-18 09:52:04 -06:00
repos.go Show empty repos in Admin Repository Management page (#23114) (#23130) 2023-02-24 20:17:21 +00:00
runners.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
users.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
users_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00