forgejo/modules/repository
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
..
collaborator.go
collaborator_test.go Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
commits.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
commits_test.go Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
create.go Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
create_test.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
delete.go Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
env.go
fork.go
generate.go
generate_test.go
hooks.go
init.go Use --message=%s for git commit message (#23028) 2023-02-21 14:12:57 +08:00
main_test.go
push.go
repo.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
temp.go