-
Committer:
Tarmac
-
Author(s):
Soren Hansen
-
Date:
2010-09-23 17:33:17 UTC
-
mfrom:
(289.1.1 heartbeat-tz-fix)
-
Revision ID:
hudson@openstack.org-20100923173317-zaatbk5q63wea030
When calculating timedeltas make sure both timestamps are in UTC.
For people ahead of UTC, it makes the scheduler unit tests pass.
For people behind UTC, it makes their services time out after 60 seconds without a heart beat rather than X hours and 60 seconds without a heart beat (where X is the number of hours they're behind UTC).