diff options
author | Carl Baldwin <carl@ecbaldwin.net> | 2019-10-11 13:32:21 -0600 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-10-15 20:21:18 +0900 |
commit | bfb371d0c2f543c7dd5ee4afa112a6546c886ec2 (patch) | |
tree | d6de1ec637a26acdda26a5a2053625084bd3153b /pkg | |
parent | 65929fe5245f715322286f683cbcf3d15699e8b4 (diff) |
Avoid locking in cases that return immediately
This just defers the read lock over some of the code that doesn't
inspect or modify any RoutingPolicy data. It allows the early returns
to happen without ever taking the read lock.
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions