mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
There is no need to use a mutex to check the length of the proxies list, as it's read-only during the whole lifetime of a ProxyRotator structure. Moreover, it's a bit clearer to explicitly wrap the 2 lines of mutex-needing operations between a Lock/Unlock instead of using a defer. |
||
---|---|---|
.. | ||
proxyrotator.go | ||
proxyrotator_test.go |