mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-26 20:52:45 +01:00
Double default peekSize
We bumped it to 8kB in 2015, but it is starting to be an issue again.
This commit is contained in:
parent
2cfc821203
commit
b0525bcf42
@ -1318,7 +1318,7 @@ registerGlobalValue(supybot.protocols.irc.queuing.rateLimit, 'join',
|
|||||||
###
|
###
|
||||||
registerGroup(supybot.protocols, 'http')
|
registerGroup(supybot.protocols, 'http')
|
||||||
registerGlobalValue(supybot.protocols.http, 'peekSize',
|
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
|
'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
|
similar. It'll give up after it reads this many bytes, even if it hasn't
|
||||||
found what it was looking for.""")))
|
found what it was looking for.""")))
|
||||||
|
Loading…
Reference in New Issue
Block a user