#define CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT \ 10
10, where 1 week / 10 = 16.8 hours
Following 4 parameters are used to calculate the PreFetch start after the NextUpdate ValidityPeriod = NextUpdate - ThisUpdate PreFetchPeriod = ValidityPeriod / AfterNextUpdatePreFetchDivisor Where PreFetchPeriod is decreased to MaxAfterNextUpdatePreFetchPeriodSeconds or increased to MinAfterNextUpdatePreFetchPeriodSeconds; PreFetchStartTime = NextUpdate PreFetchEndTime = PreFetchStartTime + PreFetchPeriod PreFetch starts are randomized over the above PreFetchPeriod If CurrentTime > RandomPreFetchStartTime, then, the AfterCurrentTimePreFetchPeriodSeconds is randomized and added to CurrentTime for the RandomPreFetchStartTime