1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-24 08:52:25 +02:00
oauth2-proxy/pkg/clock
Nick Meves baf6cf3816 Remove mutex from local Clock instances
They will only be used in tests, but it doesn't play
nice with copy operations many tests use. The linter was
not happy. While the global clock needs mutexes for parallelism,
local Clocks only used it for Set/Add and didn't even use the
mutex for actual time functions.
2021-06-22 17:04:42 -07:00
..
clock_suite_test.go Add a clock package for better time mocking (#1136) 2021-04-18 18:25:57 +01:00
clock_test.go Add a clock package for better time mocking (#1136) 2021-04-18 18:25:57 +01:00
clock.go Remove mutex from local Clock instances 2021-06-22 17:04:42 -07:00