Commit Graph

3 Commits

Author SHA1 Message Date
Tobias Blomberg 6cc6b0bdf2 Improved backgroup connect strategy in Async::TcpPrioClient
Reconnects that run in the backgrund when an Async::TcpPrioClient is
connected to a lower priority host is now tried once every minute on
second 00. This make it highly likely that all nodes reconnect to a
higher prio node at the same time when it comes online.
2022-04-24 14:49:25 +02:00
Tobias Blomberg cbc0738a76 * Now using clock_gettime instead of gettimeofday to get the time for timers
since the former provides monotonically increasing time which the
  latter don't.

* Fixed a rounding error in the AtTimer class.


git-svn-id: svn://svn.code.sf.net/p/svxlink/svn/trunk@2311 f8843c6b-282e-0410-804b-c0d5895947d2
2013-04-06 18:41:41 +00:00
Tobias Blomberg 4ca8057d75 * New class Async::AtTimer to set a timer that expires at the specified
time of day.


git-svn-id: svn://svn.code.sf.net/p/svxlink/svn/trunk@2310 f8843c6b-282e-0410-804b-c0d5895947d2
2013-04-06 17:30:50 +00:00