mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-07-15 12:07:09 +00:00
a5c03d9b73
The arbitary value `25` was used but in prace it's quite possible for more than 25 writing threads to have checked the cookie count limit before adding their cookie. In practice we see Travis failing on this test quite often, every few builds in fact. I think using `threads.length` (i.e. 200) should cover the worst case possibility where every thread reads a stale count and tries to add their cookie. Fixes #274