Micah Gates aa02ceb2e5 leases: Move lease sorting outside of lock
Because the leases were sorted inside UnsafeLeases() the lessor mutex
ended up being locked while the whole map was sorted. This pulls the
soring outside of the lock, per feedback on
https://github.com/coreos/etcd/pull/9699
2018-06-06 15:05:23 +00:00
..
2018-02-26 17:11:40 -08:00
2018-02-26 17:11:40 -08:00
2018-04-02 13:00:33 -07:00
2018-05-25 12:57:28 -07:00