conncheck: optimize pending checks pruning
authorFabrice Bellet <fabrice@bellet.info>
Sun, 5 Apr 2020 20:13:27 +0000 (22:13 +0200)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 6 May 2020 01:12:20 +0000 (21:12 -0400)
commit93b5d3cbbeb70ceb8cc136d36c7de64d150a4159
treedd54460eac9c2ac2df28fde7652d0fd097719c8a
parent0c142b3674911dfdce49d7d534752d6381a43d4d
conncheck: optimize pending checks pruning

We use the property that the conncheck list is ordered by
pairs priorities, so we don't have to iterate twice.
agent/conncheck.c