diff options
author | zeripath <art27@cantab.net> | 2021-09-13 09:40:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 09:40:55 +0100 |
commit | 8af7a21085b73379e5f268c7a52ea77c51bb9246 (patch) | |
tree | 896996d6438805e43e0e3f4429e6322b5035fa99 /cmd/dump_repo.go | |
parent | 132c8c43e10d4953ecd091b4b8d7343344319839 (diff) | |
download | gitea-8af7a21085b73379e5f268c7a52ea77c51bb9246.tar.gz gitea-8af7a21085b73379e5f268c7a52ea77c51bb9246.zip |
Update go-chi/session (fixes "race" in tests) (#17031)
Update to latest go-chi/session where the NewManager causes a new
Provider instantiation instead of reconfiguring an old one.
(https://gitea.com/go-chi/session/pulls/1)
The NewManager call is now concurrency safe and would allow live
reconfiguration in future but for now this PR simply fixes an
intermittent "data-race" detected in our tests. (See
https://drone.gitea.io/go-gitea/gitea/43900/2/14)
Related #17027
Related #1441
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'cmd/dump_repo.go')
0 files changed, 0 insertions, 0 deletions