mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-07-12 10:37:13 +00:00
47632eb4c4
BdbMultipleWorkQueues.calculateInsertKey() silently clips precedence values to 127 for queue ordering. This can cause unexpected behavior for custom cost assignment policies that return values above 127. Log a warning when clipping occurs and fix the misleading comment in CrawlURI.holderCost that said "should not exceed 255" (the actual limit is 127, not 255). Fixes #502