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.
gitea/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>
2 years ago
..
collaborator.go Always reuse transaction (#22362) 2 years ago
collaborator_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
commits.go Add context cache as a request level cache (#22294) 2 years ago
commits_test.go Avoid warning for system setting when start up (#23054) 2 years ago
create.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
create_test.go Map OIDC groups to Orgs/Teams (#21441) 2 years ago
delete.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
env.go Implement actions (#21937) 2 years ago
fork.go Implement FSFE REUSE for golang files (#21840) 2 years ago
generate.go Repositories: by default disable all units except code and pulls on forks (#22541) 2 years ago
generate_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hooks.go Implement FSFE REUSE for golang files (#21840) 2 years ago
init.go Use `--message=%s` for git commit message (#23028) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
push.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Add context cache as a request level cache (#22294) 2 years ago
temp.go Implement FSFE REUSE for golang files (#21840) 2 years ago