Fix throttle on multiple connections
authorAlban Crequy <alban.crequy@collabora.co.uk>
Fri, 21 May 2010 16:23:08 +0000 (17:23 +0100)
committerAlban Crequy <alban.crequy@collabora.co.uk>
Fri, 21 May 2010 16:27:16 +0000 (17:27 +0100)
commit74c73ad759577ef8c05360ea99b2697ccd618538
tree427daeef19e04e1893429bde5b2b347ddb5052f4
parent293e7de633edbded159abad61cb8cc801f9d204e
Fix throttle on multiple connections

There was a single throttle timeout for all connections but the the timeout was
rearmed when SetLocation was called on a single connection. So the location was
always published to a single connection.

This patch rearm the throttle timeout after the location is published on all
connections. When an connection just appear, the throttle does not apply and
the location is published immediately on that connection.
src/position-publisher.c