Double default peekSize

We bumped it to 8kB in 2015, but it is starting to be an issue again.
This commit is contained in:
Valentin Lorentz 2022-10-28 14:19:09 +02:00
parent 2cfc821203
commit b0525bcf42

View File

@ -1318,7 +1318,7 @@ registerGlobalValue(supybot.protocols.irc.queuing.rateLimit, 'join',
###
registerGroup(supybot.protocols, 'http')
registerGlobalValue(supybot.protocols.http, 'peekSize',
registry.PositiveInteger(8192, _("""Determines how many bytes the bot will
registry.PositiveInteger(16384, _("""Determines how many bytes the bot will
'peek' at when looking through a URL for a doctype or title or something
similar. It'll give up after it reads this many bytes, even if it hasn't
found what it was looking for.""")))