From b0525bcf421c3bbc8e4bf3e9346e888a74bd1615 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 28 Oct 2022 14:19:09 +0200 Subject: [PATCH] Double default peekSize We bumped it to 8kB in 2015, but it is starting to be an issue again. --- src/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.py b/src/conf.py index 5d9523a56..16c554451 100644 --- a/src/conf.py +++ b/src/conf.py @@ -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.""")))