diff options
author | zeripath <art27@cantab.net> | 2021-07-20 20:09:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 20:09:29 +0100 |
commit | 49bd9a111125da6fd9212e41ca5473a1faff0cf2 (patch) | |
tree | 2dd670ede792ea8152ad3e53faf1a0516bf8b83b /integrations/api_repo_file_create_test.go | |
parent | 97381aad5df7e6a4b65d9097b6b89b4e9b692528 (diff) | |
download | gitea-49bd9a111125da6fd9212e41ca5473a1faff0cf2.tar.gz gitea-49bd9a111125da6fd9212e41ca5473a1faff0cf2.zip |
Fix race in log (#16490)
A race has been detected in #1441 relating to getting log levels.
This PR protects the GetLevel and GetStacktraceLevel calls with a RW mutex.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'integrations/api_repo_file_create_test.go')
0 files changed, 0 insertions, 0 deletions