[mythtv-commits] [MythTV/mythtv] f9b977: EIT scanner instance start delay
noreply at github.com
Mon Dec 28 18:59:47 UTC 2020
Author: Klaas de Waal <kdewaal at mythtv.org>
Date: 2020-12-28 (Mon, 28 Dec 2020)
EIT scanner instance start delay
Fix the implementation of the start delay for EIT scanner instances so that
the instance start moment is evenly distributed with a bit of randomness.
The implementation had two issues:
- sometimes a negative start delay due to incorrect random delay computation
where an unsigned integer is assigned to an integer of the same size.
- the delay depending on the card number was documented in the comment
but not implemented.
Also the following change:
- EIT start time for cards that are not configured for or are not able to
do EIT is now set to 10 years in the future instead of only one year.
More information about the mythtv-commits