0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-08 00:42:47 +01:00
zeripath cf9aeca508
Fix race in log (#16490) (#16505)
Backport #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>
2021-07-21 20:19:36 +08:00
..
2020-10-31 01:36:46 -04:00
2021-07-21 20:19:36 +08:00
2021-06-07 07:27:09 +02:00
2021-06-07 07:27:09 +02:00
2020-10-31 01:36:46 -04:00
2020-10-31 01:36:46 -04:00
2021-06-07 07:27:09 +02:00