martin-djukanovic opened a new pull request, #848:
URL: https://github.com/apache/nutch/pull/848

   1) The loop in setHostSpecificIntervals is cleaned up and if max interval in 
the config is set to default, it is treated correctly.
   2) The functions getMinInterval and getMaxInterval are respectively renamed 
to getCustomMinInterval and getCustomMaxInterval and now return null if no 
custom interval has been set for the given URL's hostname. If one of them 
returns null after it is called, then the corresponding default value will be 
used to bound the calculated interval.
   3) The custom interval values in the config are now allowed to equal the 
default values. For example, if the default min interval is 7200 then in the 
config file "0", "default" and "7200" are all valid values for the custom min 
interval, and they all have the same result.
   4) The config file template is changed to account for these changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to