(crawler) Be a bit more conservative about pulling etags and so on if the previous fetch wasn't OK
This commit is contained in:
parent
c5aab7e8db
commit
84563b0d46
@ -49,6 +49,9 @@ public record DocumentWithReference(
|
||||
if (null == doc)
|
||||
return ContentTags.empty();
|
||||
|
||||
if (doc.documentBody == null || doc.httpStatus != 200)
|
||||
return ContentTags.empty();
|
||||
|
||||
String lastmod = doc.getLastModified();
|
||||
String etag = doc.getEtag();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user