forgejo/modules
Lunny Xiao 91fa0eb9d7
Avoid warning for system setting when start up (#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: Lauris BH <lauris@nix.lv>
2023-02-24 18:23:13 +08:00
..
actions
activitypub
analyze
auth
avatar
base
cache
charset
container
context
csv
doctor
emoji
eventsource
generate
git
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
lfs
log
markup
mcaptcha
metrics
migration
mirror
nosql
notification
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
secret
session
setting
sitemap
ssh
storage
structs
svg
sync
system
templates Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
test
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util
validation
watcher
web
webhook