embedthis/mpr-3 — comment on commit b4c98be800010f0600fbe7ceffbd9aca3ab0fed5
File:  line 0
By doghell:

In my testing, If I change the system time to be a huge number. such as "2037-10-10T10:10:10", the function "mprServiceEvents" might quit sometimes because the variable "remaining" is less than zero. Here's some code pieces.

remaining = mprGetRemainingTime(dispatcher, mark, timeout); /*If I set the time to be very huge. the remaining might be less than 0 */
while (remaining > 0 && !mprIsComplete(dispatcher) && !(flags & MPR_SERVICE_ONE_THING));

This is all I have captured. But I'm not sure if this change from MAXINT to MAXINT64 can deal with this.(Have not check yet.)