Hi - > [...] > We seem to not expect these intervals to be much bigger than a week, > so an int should always be big enough (even when stretched up to a > whole year).
Yes, ints are fine for these humane-number-of-seconds kinds of values in the cache configuration. There's no need for maximum length integers or even longs for purposes of storage/parse. In the later interval arithmetic related to time_t values, we can widen them to (time_t) then and there. - FChE