forgejo/models/system
Lunny Xiao 91fa0eb9d7
Avoid warning for system setting when start up ()
Partially fix 

After  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: Lauris BH <lauris@nix.lv>
2023-02-24 18:23:13 +08:00
..
appstate.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
notice.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
notice_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
setting.go Avoid warning for system setting when start up () 2023-02-24 18:23:13 +08:00
setting_key.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
setting_test.go Avoid warning for system setting when start up () 2023-02-24 18:23:13 +08:00