mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader.git
synced 2025-08-19 19:59:10 +08:00
fix
This commit is contained in:
parent
43dee08dcc
commit
249408df6b
@ -297,7 +297,7 @@ function giveSnapshot(stopActiveSnapshot) {
|
|||||||
return req.abort('blockedbyclient', 1000);
|
return req.abort('blockedbyclient', 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (domainSet.size > 21) {
|
if (domainSet.size > 51) {
|
||||||
page.emit('abuse', { url: requestUrl, page, sn, reason: `DDoS attack suspected: Too many domains (${domainSet.size})` });
|
page.emit('abuse', { url: requestUrl, page, sn, reason: `DDoS attack suspected: Too many domains (${domainSet.size})` });
|
||||||
|
|
||||||
return req.abort('blockedbyclient', 1000);
|
return req.abort('blockedbyclient', 1000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user