private static long calculateNewTimestamp(final boolean delay, final int intervalInHours) {
        // if delay requested: delay by regular interval, but by three days at most
        return (System.currentTimeMillis() / 1000) - (delay && (intervalInHours > 72) ? (long) (intervalInHours - 72) * HOURS_TO_SECONDS : 0);
    }
The threshold for brouter routing (max. distance)
main/src/main/java/cgeo/geocaching/settings/Settings.java